05c2bafc9d
Have median reduce over all dims and return just the value when dim is not provided
2017-07-04 14:55:37 -04:00
bb3779efe8
Add broadcasting to masked_select.
2017-06-24 09:45:21 -04:00
497db732fc
btrifact: Make pivoting optional.
2017-06-22 12:45:14 -04:00
a64560c22e
Remove flattening for torch.dot ( #1781 )
2017-06-16 02:15:33 +02:00
97f50edf46
Add documentation for Cholesky lapack functions ( #1816 )
2017-06-16 02:10:56 +02:00
9c53c6dcb9
Fix errors and warnings when building docs ( #1806 )
2017-06-14 13:50:14 -04:00
7da46097fe
Fix lint errors.
2017-06-11 05:37:59 -04:00
a36f95fe26
Add broadcast support for fused-matmul broadcasting. Functions are: addmm, addbmm, addr, addmv, baddbmm.
2017-06-11 05:37:59 -04:00
d279c6e099
Docs for addcdiv, addcmul
2017-06-11 05:37:59 -04:00
e96f854ce2
Implement/test broadcasting semantics for comparison ops.
2017-06-11 05:37:59 -04:00
471dfe9791
Add documentation including links to numpy broadcasting semantics.
2017-06-11 05:37:59 -04:00
9087624634
Revert "Restore examples with keepdim=True default."
...
This reverts commit 6fab62173e842bbf550de1c68cfae507ca35b800.
2017-06-11 05:37:58 -04:00
e772a440cb
Revert "Change keepdim default to False."
...
This reverts commit e124790cb2b6675a4b6edf64620a7eb7f7228b29.
Note the original commit message is incorrect; this changes keepdim
back to false.
2017-06-11 05:37:58 -04:00
4eb448a051
Fix simple typo
...
Dimension a bit wrong
2017-05-28 18:53:04 +02:00
46ee1e4687
Clarify definition of gather function in docs. ( #1652 )
2017-05-25 11:06:28 -04:00
9a497f824b
Add size/dimensionality documentation for torch.gather. ( #1645 )
2017-05-24 20:42:18 -04:00
feaee29bfe
Add argmax and argmin to docs
2017-05-20 18:56:20 +02:00
8aa011f52a
minor typo and style changes to _torch_docs.py ( #1559 )
2017-05-15 15:32:56 +02:00
6fc9130052
Adapt documentation to reflect new supported argument ( #1548 )
...
Reflect the changes of #1323
2017-05-13 21:09:34 -06:00
28f4f6db2c
typo error for torch.addr ( #1547 )
...
fix the typo error in the example for torch.addr
2017-05-13 08:53:05 -07:00
6fab62173e
Restore examples with keepdim=True default.
2017-05-09 14:49:55 -07:00
e124790cb2
Change keepdim default to False.
2017-05-09 14:49:21 -07:00
be5191a00b
Add documentation for keepdim.
2017-05-09 14:16:42 -07:00
7d40140bfb
Document squeeze behavior on 1-dimensional tensors of size 1. ( #1470 )
2017-05-04 16:54:22 +02:00
574cfe3cf3
Improve kthvalue documentation. ( #1448 )
...
1) Fix "kth" attr specification -- I can't get sphinx to generate `k`th,
but `k` th works with a space, unlike now where the highlighting continues
until the next attr.
2) Specify the size of the return tensors.
3) Add an example of the return tensor sizes with more than 1 dimension.
2017-05-02 17:22:02 -04:00
5aa1f769d3
Fix torch.dist documentation: function returns a float. ( #1440 )
2017-05-02 14:38:48 -04:00
28a7fbbdf5
Documentation fix for torch.gather
2017-04-28 22:45:14 +02:00
afeeb81e79
Add support for keyword arguments in torch.cat
2017-04-11 14:48:54 -07:00
f0c7124420
Allow support for negative dimension argument for all functions
2017-04-06 16:37:00 -07:00
d122b4e4ec
Update btrisolve docs to the newest interface.
2017-04-04 15:21:16 -04:00
91c4ba7980
Add torch.arange and deprecate torch.range
2017-04-03 10:38:58 -04: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
62063b2f62
Fix docs for pointwise ops ( #845 ) ( #985 )
...
* add torch.nn.init docs to the source folder
2017-03-15 11:08:05 -04:00
9b626a8047
Fix documentation - replace 'matrix' with 'vector' ( #951 )
2017-03-07 10:40:18 -05:00
240372a991
Fixed topk documentation for largest=True
2017-02-21 04:38:24 -05:00
712686ce91
Add cat, contiguous, squeeze, and unsqueeze to THPP
...
Use unsqueeze and view from TH/THC
2017-02-11 17:49:31 +01:00
e3e7b76310
Rename all normal and log_normal args to std
2017-02-01 21:48:11 +01:00
57373c7c29
Fix docs
2017-01-28 01:16:04 +01:00
79f5bf84e5
[pep8] Potentially breaking docstring changes
2017-01-28 01:15:51 +01:00
3ed720079e
[pep8] Fix most remaining lint manually
2017-01-28 01:15:51 +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
9f89692dcd
adding documentation for some lapack functions ( #528 )
2017-01-20 16:56:37 -05:00
58a88d1ac0
Fix doc search and warnings
2017-01-20 11:36:41 +01:00
c414bf0aaf
Fix handling of unicode in torch._C._add_docstr ( #487 )
2017-01-18 17:22:30 -05:00
8aa8f791fc
add more torch.* and Tensor docs ( #476 )
2017-01-18 08:39:33 -05:00
14d5d52789
Add placeholder tensor documentation for methods that exist in torch. ( #463 )
2017-01-17 19:37:47 -05:00