Created
December 22, 2019 13:58
-
-
Save omarsar/687ca580f850029eb0ae6e0d1ac22534 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## our data in tensor form | |
x = torch.tensor([[-1.0], [0.0], [1.0], [2.0], [3.0], [4.0]], dtype=torch.float) | |
y = torch.tensor([[-3.0], [-1.0], [1.0], [3.0], [5.0], [7.0]], dtype=torch.float) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment