e867baa5f9
Accept file paths in torch.save and torch.load
2016-11-01 19:31:53 +01:00
ad5fdef6ac
Make every user-visible Tensor have a Storage ( #179 )
2016-10-31 12:12:22 -04:00
6027513574
Add support for indexing with numpy types
2016-10-30 00:16:06 +02:00
f2d7e94948
Use torch.Size for Tensor sizes and tuple for strides
...
See issue #20
The torch.Size class is a tuple subclass which distinguishes sizes from
other tuples so that torch.Tensor(size) is interpreted as size instead
of data.
2016-10-28 19:37:09 +02:00
30924ff1e0
Fix test_nonzero flakiness ( #173 )
2016-10-26 19:50:56 -04:00
383c48968f
Add support for indexing with ellipsis ( #172 )
2016-10-26 19:50:44 -04:00
9000f40e61
Add torch.from_numpy
2016-10-24 22:30:11 +02:00
067662d280
making .numpy return writeable arrays ( #164 )
2016-10-24 16:23:28 -04:00
b85fc35f9a
Fix for versions compiled without CUDA support ( #155 )
...
* Fix pytorch when compiling without CUDA support
* Skip print test with CUDA types if CUDA is not available
2016-10-23 13:03:10 +02:00
bcb466fb76
fix bug with numpy conversion and storageOffset > 0 ( #154 )
2016-10-22 11:56:18 -04:00
ee14cf9438
Add support for pinned memory: ( #127 )
...
torch.Storage/Tensor.pin_memory()
torch.Storage/Tensor.is_pinned()
2016-10-15 18:38:26 -04:00
0391bbb376
Fix view_as
and view
for empty tensors ( #128 )
2016-10-15 18:33:05 -04:00
3d6ebde756
qr and ormqr tests and bugfix
2016-10-14 03:10:16 -04:00
966adc6291
Simplify torch.cat
2016-10-10 20:51:15 -07:00
96f61bff30
Add LAPACK functions
2016-10-08 20:37:37 -07:00
3f7ab95890
Finish implementation of prng related functions
2016-09-29 11:33:25 -07:00
4a8a185aa4
Preserve storage view sharing in torch.save and torch.load
2016-09-25 12:24:10 -07:00
e71204b52f
Improve error messages in storage and tensor C functions
2016-09-23 17:17:35 -07:00
8fdec15a55
Codemod to remove camel case method naming
2016-09-20 08:40:28 -07:00
a8e816f450
Fix maskedSelect test
2016-09-18 12:54:12 -04:00
5d24432322
Fix errors when printing tensors with inf and nan values
2016-09-15 18:49:20 -07:00
4bad029fd4
Add more functions to autograd
2016-09-15 13:01:24 -07:00
f646391f26
Bug fixes and test improvements
...
Fixed:
* tensor and storage printing
* legacy.nn module printing
* SpatialCrosMapLRN tests
Also, all fixed bugs have regression tests now.
2016-09-08 19:07:05 -07:00
1486d880b0
Add Storage.from_buffer
...
The from_buffer is similar to numpy's frombuffer. It decodes a Python
buffer object into a Storage object. For byte and char storages, it
simply copies the bytes.
2016-09-07 15:32:33 -07:00
cc62ee229e
Fix torch tests
2016-08-24 10:10:52 -07:00
75579fcabd
Fix Log autograd test
2016-08-23 10:42:36 -07:00
686e8d32e2
Add torch.save and torch.load
2016-08-23 07:51:55 -07:00
e6953000e8
Add tests for copy and pickle + make CUDA optional in legacy nn tests
2016-08-15 06:37:57 -07:00
1e905eb4d5
copy -> copy_
2016-08-12 09:26:33 -07:00
1a57979f41
Add cutorch tests
2016-08-11 06:43:41 -07:00