Commit Graph

5 Commits

Author SHA1 Message Date
dc78eeae3b bug fix 2018-05-16 00:40:44 +09:00
968b6e2d0b Merge pull request #18 from okdolly/patch-2
x = torch.linspace(-5,5,200), size [200]
2018-02-26 11:22:03 +08:00
9beffbc7eb x = torch.linspace(-5,5,200), size [200]
y=torch.linspace(x1,x2) returns a one-dimensional tensor of size 100 equally spaced points between x1 and x2.

y=torch.linspace(x1,x2,n) returns a one-dimensional tensor of n equally spaced points between x1 and x2.
2018-02-17 22:52:07 -08:00
b048c4dd84 torch.dot does not broadcast
torch.dot() can only work for 1 dimension tensor.

http://pytorch.org/docs/master/torch.html
https://github.com/pytorch/pytorch/issues/2313
2018-02-17 22:09:20 -08:00
cdd6704b86 Add notebooks 2017-06-22 23:05:34 +02:00