Kai Arulkumaran
11a14fd0fd
Clarifications on setting up torch.distributed ( #2475 )
2017-08-18 09:21:04 -04:00
Edward Z. Yang
b09d7c890e
Copy-edit sparse constructor docs for clarity.
...
Basically, it's easy to confuse the dimensions of the index tensor.
This adds some more text which should hopefully clarify the situation.
Fixes #2416 .
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
2017-08-15 13:36:30 -04:00
jekbradbury
5e088da5ba
Add DistributedDataParallel to docs
...
DataParallel was included twice.
2017-08-15 10:01:36 +05:30
Benoit Rostykus
641e582f31
Fix typo ( #2378 )
2017-08-11 20:57:26 -04:00
Sasank Chilamkurthy
5caa42b538
Add ConcatDataset to docs ( #2337 )
2017-08-08 07:16:04 -04:00
Adam Paszke
4599c0c7df
Update autograd notes ( #2295 )
2017-08-05 05:18:05 +05:30
Sasank Chilamkurthy
e548580f31
Add missing models to torch vision documentation ( #2204 )
2017-07-26 01:58:18 +05:30
ngimel
66bbe5d75a
.creator -> .grad_fn in the code example ( #2171 )
2017-07-21 14:43:16 -04:00
Adam Paszke
4f035f14de
Add a support matrix for distributed backends
2017-07-21 14:19:46 -04:00
Aron Barreira Bordin
11f3ccf98f
Add missing Modules to nn.functional ( #1801 )
...
* add dropout2d and dropout3d to functional
added some loss functions to functional
added tests
using dropout from backend
added docs
fixes
* edited loss modules to call functional
2017-07-19 15:55:21 -04:00
brett koonce
16dd997239
Spelling tweaks for documentation ( #2114 )
2017-07-15 13:16:32 -07:00
yunjey
52a9367fa7
Fix minor typo ( #2100 )
...
Fixed minor typo in Autograd mechanics docs.
2017-07-14 10:20:13 -04:00
Soumith Chintala
37183e91de
add normalize docs to sphinx
2017-07-13 02:31:57 -04:00
Soumith Chintala
58e4caf80f
add missing docs
2017-07-13 01:01:04 -04:00
Soumith Chintala
81fd2bf2d0
fix some language / typos
2017-07-12 14:47:36 -04:00
Adam Paszke
8915e2710c
Refactor scatter/gather and add distributed docs
2017-07-12 14:47:36 -04:00
Hungryof
73128f7b08
fix minor typos ( #2051 )
...
* Update extending.rst
fix typo
* Update cuda.rst
fix typo
2017-07-11 11:01:41 -04:00
Naren Dasan
49f679d0e9
Acknowledge the existence of cpu HalfTensor ( #2018 )
2017-07-08 10:03:36 -04:00
Sam Gross
2c038f2074
Add weight normalization implementation ( #1945 )
...
* Add weight normalization implementation
This adds forward "pre-hooks" which get called before the module's
forward() method. Weight norm is implemented as a hook which calculates
the weight variable from the weight_g and weight_v every iteration.
Based on @rtqichen implementation.
* Specify return type
2017-06-30 15:41:40 -04:00
Soumith Chintala
b3e500c522
fix docs generation warnings
2017-06-30 14:39:21 -04:00
Leonid Vlasenkov
ae61f3ff42
adds poisson NLL loss ( #1779 )
2017-06-27 10:04:54 -04:00
Soumith Chintala
1f391a42f7
fix warnings for docs generation
2017-06-27 00:18:32 -04:00
Soumith Chintala
ee1b7b50b3
fix docs for broadcast warning
2017-06-26 14:50:57 -04:00
Alykhan Tejani
67968cb60b
Add numerically stable BCELoss which takes logits as input ( #1792 )
2017-06-19 22:05:51 -04:00
Francisco Massa
76ee014d10
Add documentation to SELU and AlphaDropout
2017-06-19 18:18:01 -04:00
Soumith Chintala
f61ec2495e
nn.EmbeddingBag to compute a bag of word embeddings (Embedding + Sum/Mean)
2017-06-15 12:32:47 -04:00
Aron Barreira Bordin
909f31764f
Add nn.padding to docs fixes #1127 ( #1808 )
...
* exposed nn.padding modules
* using functional
2017-06-15 07:41:38 -04:00
Sam Gross
9c53c6dcb9
Fix errors and warnings when building docs ( #1806 )
2017-06-14 13:50:14 -04:00
gchanan
4e356528b4
Add torch.matmul function. ( #1780 )
...
* Add torch.matmul function.
Includes test_torch, test_autograd and docs changes.
* Add __all__ to functional so imports are accidentally imported.
* Include unbind in __all__.
* Add matmul case for when one argument is 1-dimensional and the other
at least 3-dimensional.
* Add squeeze_ to Variable.
* Use squeeze_ instead of squeeze for matmul.
2017-06-14 08:14:53 -04:00
Adam Paszke
12813b88f6
Add DistributedDataParallel
2017-06-12 22:00:22 -04:00
Gregory Chanan
1ef4cc1591
Incorporate review comments:
...
1) Line up trailing dimensions in broadcast docs.
2) remove unnecessary expand_as in common_nn test.
3) use view in tensor_str instead of resize_.
4) newExpand remove raiseErrors change.
5) clarify expandedSizes/expandedStrides parameters in inferExpandGeometry.
6) simplify inferSize2/inferSizeN implementations.
7) use new-style classes for warning.
2017-06-11 05:37:59 -04:00
Gregory Chanan
deec86cc05
Clarify a number of comments.
2017-06-11 05:37:59 -04:00
Gregory Chanan
5e1a714386
Add backwards incompatibility docs.
2017-06-11 05:37:59 -04:00
Gregory Chanan
cd35091d9b
Include simple broadcasting example and demonstrate lining up trailing dimensions.
2017-06-11 05:37:59 -04:00
Gregory Chanan
471dfe9791
Add documentation including links to numpy broadcasting semantics.
2017-06-11 05:37:59 -04:00
Edward Z. Yang
ba690d5607
Add support for NVTX functions. ( #1748 )
2017-06-10 18:26:58 +02:00
Soumith Chintala
2a49353d5e
minor fix for docs of Upsample
2017-06-07 11:42:52 -04:00
Luca Antiga
b9ab26765e
Add 3D upsampling (nearest and trilinear) with tests
2017-06-07 11:29:27 -04:00
Aron Barreira Bordin
d7db75c10f
added CosineSimilarity to nn.distance and updated docs ( #1672 )
...
* added CosineSimilarity to nn.distance and updated docs
2017-06-06 22:53:21 -04:00
Adam Paszke
a53cde09b5
Rename masked_copy_ to masked_scatter_
2017-06-06 01:06:14 -04:00
Bubble
2ce5875a4d
Modify the sample code of extending autograd ( #1720 )
...
The original input can not be used as input of Linear(), because forward() takes at least 3 arguments (2 given)
2017-06-05 23:36:58 -04:00
Sasank Chilamkurthy
24aecaa2c8
Cleanup torch vision docs ( #1699 )
...
* Modify torchvision documentation following https://github.com/pytorch/vision/pull/179
* Add new datasets to docs
* Fix wording in torch.datasets
* Small clarification
2017-06-05 11:52:41 -04:00
Soumith Chintala
460b8715a8
display version number in docs
2017-06-02 11:56:48 -04:00
Bubble
447fe953e5
Modify the sample code of volatile ( #1694 )
...
The original two inputs (torch.randn(5,5)) can not be used as input of resnet, which must be (batch, channels, width, height)
2017-06-01 09:46:04 -04:00
Jiaming Liu
630af4d7d8
add learning rate schedulers ( #1370 )
2017-05-25 16:21:43 -04:00
Edward Z. Yang
2f4bf4ab39
Rewrite 'How autograd encodes the history' to accurately describe current setup. ( #1580 )
...
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
2017-05-17 19:21:20 -04:00
Adam Paszke
6b84dc26f0
Add F.cosine_similarity ( #1502 )
2017-05-15 11:12:54 -06:00
Edward Z. Yang
743e4894d2
Prefix values/indices/sparse_mask/nnz with underscore ( #1457 )
...
As discussed in #1441 .
I also added some docs giving clear guidance about how to coalescing
in sparse tensors.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
2017-05-03 11:14:10 -04:00
Soumith Chintala
ecd51f8510
docs fixes
2017-05-02 15:42:33 -04:00
Edward Z. Yang
181cb15c72
Fix formatting error in docs.
...
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
2017-05-01 21:47:22 -04:00