pytorch/torch
Tongzhou Wang 93da5a21c9 Update variable view note
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/11393

Differential Revision: D9725444

Pulled By: SsnL

fbshipit-source-id: b1607d986ab93e64b0b0ff9e8f10d9e3f6e2160e
2018-09-07 15:09:43 -07:00
..
_thnn
autograd Document torch.allclose (#11185) 2018-09-02 09:26:07 -07:00
backends
contrib
csrc Update variable view note 2018-09-07 15:09:43 -07:00
cuda Make torch.cuda.* take device objects; Update distributed docs (#10833) 2018-08-27 15:24:42 -07:00
distributed Full-fledged group testings and fixes for c10d frontend APIs (#11318) 2018-09-06 18:26:11 -07:00
distributions Remove methods that start with an underscore from at::Tensor (#11152) 2018-09-07 11:55:11 -07:00
for_onnx
jit Add initial documentation for JIT (#11357) 2018-09-07 14:27:47 -07:00
legacy check attribute existence in torch.legay.nn.SpatialFullConvolution in method type (#8740) 2018-08-14 10:11:13 -07:00
lib Adding setTimeout option in Store (#11265) 2018-09-06 12:55:50 -07:00
multiprocessing Don't call into Python during Storage destruction. (#10407) 2018-08-13 11:20:07 -07:00
nn Move sync_params to C++ (#9805) 2018-09-07 12:56:40 -07:00
onnx Handling for py2/py3 division differences (#11016) 2018-09-05 14:57:38 -07:00
optim Remove methods that start with an underscore from at::Tensor (#11152) 2018-09-07 11:55:11 -07:00
sparse
testing
utils update CUDAExtension doc (#11370) 2018-09-07 12:56:38 -07:00
__init__.py Fix dir(torch) for python 3.7 (#10271) 2018-08-07 09:57:51 -07:00
_ops.py Resolve builtins using a dict rather than by name (#10927) 2018-08-28 11:25:11 -07:00
_six.py Use _six for inf and nan (#9500) 2018-07-18 10:40:29 -07:00
_storage_docs.py
_tensor_docs.py Document torch.allclose (#11185) 2018-09-02 09:26:07 -07:00
_tensor_str.py Sparse tensor printing; add NotImplemented autograd fn (#10181) 2018-09-05 19:41:22 -07:00
_torch_docs.py Switch SVD on CPU from gesvd to gesdd (#11194) 2018-09-07 07:39:57 -07:00
_utils.py Remove methods that start with an underscore from at::Tensor (#11152) 2018-09-07 11:55:11 -07:00
_utils_internal.py
CMakeLists.txt Use custom hcc/HIP, purge hcSPARSE (#11198) 2018-09-06 19:38:07 -07:00
functional.py Implement torch.tensordot (#10025) 2018-09-04 21:10:07 -07:00
op.h Support custom ops in ScriptModule and tidy up test files (#10610) 2018-08-21 18:41:27 -07:00
random.py
README.txt
serialization.py Reimplement storage slicing. (#11314) 2018-09-06 16:11:59 -07:00
storage.py
tensor.py Remove methods that start with an underscore from at::Tensor (#11152) 2018-09-07 11:55:11 -07:00

Note [TH abstraction violation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

TH/THC provide some hpp headers, which are proper C++ headers rather than
C headers.  These headers serve double duty as *internal implementation
detail* headers, whose contents should largely not be used by external
clients.

Ideally, we would not install these headers at all; instead, you should
use public functions (in headers like `THTensor.h`, NOT `THTensor.hpp`)
to manipulate these structs.  However, there are a few places
in torch/csrc where we violate this abstraction.  They are marked with
a pointer to this note.  Each of those sites will have to be refactored
when we refactor the guts of THTensor and related structures.