Skip to content

Instantly share code, notes, and snippets.

@khuangaf
Last active May 6, 2019 13:55
Show Gist options
  • Save khuangaf/fe3710750fe0cfb5ecddf27b8685fd33 to your computer and use it in GitHub Desktop.
Save khuangaf/fe3710750fe0cfb5ecddf27b8685fd33 to your computer and use it in GitHub Desktop.
x = torch.tensor([[2,1], [5,6], [3,7], [12,0]], dtype=torch.float)
y = torch.tensor([0, 1, 0, 1], dtype=torch.float)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment