Created
August 13, 2018 07:09
-
-
Save omarsar/7b734a0fca8d059ff62949e1d6c57df9 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
X = torch.tensor(([2, 9], [1, 5], [3, 6]), dtype=torch.float) # 3 X 2 tensor | |
y = torch.tensor(([92], [100], [89]), dtype=torch.float) # 3 X 1 tensor | |
xPredicted = torch.tensor(([4, 8]), dtype=torch.float) # 1 X 2 tensor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment