Commit Graph

4 Commits

Author SHA1 Message Date
4e5122c373 u 2020-10-29 21:41:31 +08:00
bf4cf1e700 update for new version of torch 2018-11-08 19:40:27 +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
cdd6704b86 Add notebooks 2017-06-22 23:05:34 +02:00