pytorch/torch
Kaiyu Shi 342dbcc35a Remove legacy redundant codes (#9252)
Summary:
Fix #9167
Pull Request resolved: https://github.com/pytorch/pytorch/pull/9252

Differential Revision: D8774644

Pulled By: soumith

fbshipit-source-id: 0b004f497026bca3b101c577e78aec22bdc3df51
2018-07-09 16:55:28 -07:00
..
_thnn Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
autograd Update extension docs, fix Fold/Unfold docs (#9239) 2018-07-08 19:09:39 -07:00
backends Move _cudnn_init_dropout_state to TensorOptions and enable cuDNN dropout in C++ API RNNs (#9012) 2018-06-29 17:25:23 -07:00
contrib
csrc Remove legacy redundant codes (#9252) 2018-07-09 16:55:28 -07:00
cuda Move nccl scatter and gather to C++ (#9117) 2018-07-06 11:10:33 -07:00
distributed Distributed Data Parallel Module Implementation (#8584) 2018-06-28 17:25:40 -07:00
distributions fix the deprecate argument in bce with logits (#9162) 2018-07-07 10:26:35 -07:00
for_onnx
jit Fix resolution callback for @script_method (#8912) 2018-06-28 22:56:17 -07:00
legacy Implement nn.functional.interpolate based on upsample. (#8591) 2018-07-06 15:28:11 -07:00
lib Remove unused functions (#9223) 2018-07-09 10:09:47 -07:00
multiprocessing
nn Update extension docs, fix Fold/Unfold docs (#9239) 2018-07-08 19:09:39 -07:00
onnx Add onnx support for clamp_min clamp_max (#9224) 2018-07-09 16:25:44 -07:00
optim
sparse
testing
utils loss plugin: Fix indexing into a scalar (#9143) 2018-07-03 14:25:44 -07:00
__init__.py Cache cufft plans (#8344) 2018-06-22 13:02:34 -04:00
_six.py
_storage_docs.py
_tensor_docs.py move unbind to ATen 2018-07-08 16:46:35 -07:00
_tensor_str.py Some 0-sized dimension support, port catArray away from resizeLegacy. (#8666) 2018-06-20 13:26:08 -04:00
_torch_docs.py Update extension docs, fix Fold/Unfold docs (#9239) 2018-07-08 19:09:39 -07:00
_utils.py
_utils_internal.py Build system changes (#8627) 2018-06-20 17:45:26 -04:00
CMakeLists.txt [C++ API] Rework optimization package (#8815) 2018-06-26 10:13:14 -07:00
functional.py move unbind to ATen 2018-07-08 16:46:35 -07:00
random.py
README.txt
serialization.py add note to avoid memory surge on GPU (#9019) 2018-06-29 16:55:17 -07:00
storage.py Use torch.save in _StorageBase.__reduce__ (#9184) 2018-07-06 07:24:53 -07:00
tensor.py Update extension docs, fix Fold/Unfold docs (#9239) 2018-07-08 19:09:39 -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.