f273377d19
add device asserts in scatter/gather kernels
2017-05-03 11:12:26 -04:00
0160438eb9
added logical not operator for ByteTensor ( #1403 )
2017-04-30 08:47:24 -04:00
701e63107f
speed improvements, fix tests
2017-04-18 12:46:54 -07:00
b16a352a3b
Fix remainder and cremainder for integer types
2017-04-07 17:17:44 -07:00
f0c7124420
Allow support for negative dimension argument for all functions
2017-04-06 16:37:00 -07:00
91c4ba7980
Add torch.arange and deprecate torch.range
2017-04-03 10:38:58 -04:00
dfa2d26830
* make random_ range correct when both lower and upper are specified
2017-03-31 15:37:24 -04:00
be146fd721
Add btriunpack and update the btrifact test.
2017-03-29 13:42:13 +02:00
95aa2af377
btrisolve: Make a Tensor method and update argument order
...
Also update docs for btrifact and btrisolve to the newest interface.
2017-03-27 15:46:49 -04:00
bb353ccc17
Add batch triangular factorization and solves, add IntegerTensor to cwrap ( #903 )
2017-03-23 15:06:00 -04:00
faac0f5c25
Fix torch.cat bugs
...
Always use PySequence API and disallow catting along inexistent
dimensions.
2017-03-22 18:58:42 -04:00
c4d1318662
Fix map_location in torch.load ( #1006 )
2017-03-15 16:54:19 -04:00
c93c884ee2
Add negative dimension to transpose and tests ( #792 )
2017-03-03 09:31:22 -05:00
490c15fae9
Fix slicing with step ( #905 )
2017-03-03 09:00:14 -05:00
f366e5fc81
Support int16 numpy conversions
...
issue #891
2017-03-02 09:15:57 -05:00
37e05485d9
added initialization schemes in torch.nn.init ( #833 )
2017-03-01 19:34:13 +01:00
67f94557ff
Expose torch.HalfTensor
2017-02-27 19:35:47 -05:00
61bd5a0643
[Lint] Address F811
2017-02-27 19:33:00 -05:00
5d5cfe2e57
[Lint] Address E731
2017-02-27 19:33:00 -05:00
1f6f82dbcf
Fall back to indexing compatible with numpy
2017-02-26 20:02:42 +01:00
1f8939937a
Allow using expand to broadcast tensors
2017-02-26 20:02:42 +01:00
2dc563f1f1
Fix indexing when passing only an Ellipsis
2017-02-25 23:34:09 +01:00
e71cf20192
improved serialization (no tar copy) ( #713 )
2017-02-22 22:24:20 +01:00
84248690a9
Add support for indexing with None and slices with positive steps
2017-02-20 23:28:31 -08:00
b9ece39685
Make torch.Size methods return torch.Size, not tuple
2017-02-17 10:40:08 +05:30
712686ce91
Add cat, contiguous, squeeze, and unsqueeze to THPP
...
Use unsqueeze and view from TH/THC
2017-02-11 17:49:31 +01:00
825e919eb8
Add torch.unbind
2017-02-01 21:48:11 +01:00
acb0ce8885
Add LongTensor indexing support
2017-02-01 21:48:11 +01:00
e7c1e6a8e3
[pep8] Fix most lint automatically with autopep8
...
Here's the command I used to invoke autopep8 (in parallel!):
git ls-files | grep '\.py$' | xargs -n1 -P`nproc` autopep8 -i
Several rules are ignored in setup.cfg. The goal is to let autopep8
handle everything which it can handle safely, and to disable any rules
which are tricky or controversial to address. We may want to come back
and re-enable some of these rules later, but I'm trying to make this
patch as safe as possible.
Also configures flake8 to match pep8's behavior.
Also configures TravisCI to check the whole project for lint.
2017-01-28 01:15:51 +01:00
a1fa995044
Fixes and improvements ( #593 )
...
* Fix error in ELU backward
* Add --seed flag for testst st
* Add test for BatchNorm eval
* Fix autograd.backward docs
* Support cc flags in cuDNN search
* Fix IndexSelect backward formula
2017-01-25 22:21:49 -05:00
3975a2676e
Fix invalid DECREF in torch.Size constructor
2017-01-24 17:30:50 -05:00
8d1a6975d2
Fix for non-contiguous from_numpy ( #489 )
2017-01-18 18:53:13 -05:00
f91bb96071
Remove cmin, cmax and cinv
2017-01-16 19:07:37 -05:00
1c6ff53b60
Make storages unresizable once exported to numpy
2017-01-16 12:59:47 -05:00
8c14630e35
Fix Tensor.apply_() ( #444 )
...
Fixes #411
2017-01-12 21:51:18 -08:00
59d66e6963
Sparse Library ( #333 )
2017-01-05 00:43:41 +01:00
8a20e22239
Add torch.stack
2016-12-31 16:25:39 -05:00
7c5014d803
Add torch.split, torch.chunk and change default dim of cat to 0
2016-12-31 16:25:39 -05:00
9b7eceddc8
Accept outputs in out argument
2016-12-29 12:25:59 +01:00
5497b1babb
Use TypeError in invalidArguments
2016-12-28 18:15:17 +01:00
bef70aa377
Make type checking more strict and fix topk arguments
2016-12-28 18:15:17 +01:00
cd82b2b869
Implement comparison and logical operators for tensors
2016-12-28 00:04:08 +01:00
a215e000e9
fix for out of place tests and for non standard I/O pipes
2016-12-20 16:13:24 -08:00
26516f667e
Fix multinomial bug and decrease precision of normal test ( #325 )
2016-12-17 21:40:13 +01:00
8a70067b92
Add support for stochastic functions in autograd ( #294 )
2016-12-16 13:14:37 +01:00
a681f6759b
Raise correct error types when indexing tensors
2016-12-01 23:14:41 +01:00
1f5951693a
Change torch.randperm to return Long tensors
2016-12-01 23:14:41 +01:00
0fecec14b8
fixing bug in indexing when given float indices
2016-11-26 11:50:56 -05:00
8b492bbc47
Return accreal as correct python types
2016-11-25 00:40:36 +01:00
40247b0382
Fix torch tests in Python 3.3 and 3.4
2016-11-08 18:12:56 +01:00