Commit Graph

2 Commits

Author SHA1 Message Date
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
cdd6704b86 Add notebooks 2017-06-22 23:05:34 +02:00