pytorch/test/data
Sam Gross 30ec06c140
Merge Variable and Tensor classes (#5225)
This replaces the torch.Tensor constructors with factories that produce
Variables. Similarly, functions on the torch module (e.g. torch.randn)
now return Variables.

To keep the PR to a reasonable size, I've left most of the unused tensor
code. Subsequent PRs will remove the dead code, clean-up calls to
torch.autograd.Variable, and rename Variable to Tensor everywhere.

There are some breaking changes because Variable and Tensors had
slightly different semantics. There's a list of those changes here:

 https://github.com/pytorch/pytorch/wiki/Breaking-Changes-from-Variable-and-Tensor-merge
2018-02-23 18:03:31 -05:00
..
network1.py [pep8] Fix most lint automatically with autopep8 2017-01-28 01:15:51 +01:00
network2.py [pep8] Fix most lint automatically with autopep8 2017-01-28 01:15:51 +01:00
test_cuda_ignores.txt Merge Variable and Tensor classes (#5225) 2018-02-23 18:03:31 -05:00