pytorch/torch
albanD 98afce3c56 Remove unnecessary assert in autograd engine (#34307)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/34307

Test Plan: Imported from OSS

Differential Revision: D20283401

Pulled By: albanD

fbshipit-source-id: 34f6eb8955b7d9cb259260abc1056ddd9f354107
2020-03-06 11:45:46 -08:00
..
autograd [test all] Back out "Revert D20171428: [profiler] fix chrome tracing for profiler run with cuda" 2020-03-05 09:05:56 -08:00
backends Add ability to enable/disable MIOpen at runtime (#33118) 2020-02-20 10:47:57 -08:00
contrib
csrc Remove unnecessary assert in autograd engine (#34307) 2020-03-06 11:45:46 -08:00
cuda Expose CUDACachingAllocator raw_alloc and raw_delete to python (#33860) 2020-03-03 17:50:11 -08:00
distributed Remove RPC TorchScript private API (#33978) 2020-03-05 18:35:05 -08:00
distributions Support cdf for mixture_same_family distribution (#33408) 2020-03-03 07:31:24 -08:00
for_onnx
jit [JIT] add support for torch.norm (#33783) 2020-03-05 14:46:24 -08:00
legacy
lib [gloo] dont hold locks in calls to buffer in ProcessGroupGloo:RecvWork::wait() and (#33926) 2020-03-03 13:28:45 -08:00
multiprocessing [torch/multiprocessing] Update documentation indicating that start_method is ignored for mp.spawn() (#33070) 2020-02-07 15:26:00 -08:00
nn [quant] Run weight_post_process for QAT (#33852) 2020-03-04 14:01:32 -08:00
onnx [ONNX] Fix for random generators export (#33789) 2020-03-05 17:58:54 -08:00
optim Remove use of .data from optimizers (#33640) 2020-03-03 13:21:55 -08:00
quantization [quant] Speed up per-channel min-max observer (#34118) 2020-03-05 18:29:41 -08:00
sparse
testing [RPC] Create local RRef<ModuleInterface> remotely in Python, use it remotely in TorchScript (#34183) 2020-03-06 08:28:22 -08:00
utils Fix MKLDNN conv2d 5d weight handling (#34115) 2020-03-04 11:26:38 -08:00
__config__.py
__future__.py
__init__.py Improve dll loading logic on Windows (#33856) 2020-02-27 21:58:35 -08:00
__init__.pyi.in fix type stub errors (#33762) 2020-02-27 06:58:53 -08:00
_classes.py [JIT] Add torch.classes.load_library 2020-01-23 14:56:20 -08:00
_jit_internal.py [jit] Resolve type annotation names to types (#29623) 2020-02-28 18:35:10 -08:00
_namedtensor_internals.py Remove all remaining usages of BUILD_NAMEDTENSOR (#31116) 2019-12-12 09:53:03 -08:00
_ops.py [JIT] Passing custom class as arg (#32260) 2020-01-23 14:54:59 -08:00
_overrides.py Revert D20195053: [pytorch][PR] Add API for listing functions overridable by __torch_function__ 2020-03-04 10:13:54 -08:00
_six.py
_storage_docs.py
_tensor_docs.py Fix deprecated python "add" calls (#33428) 2020-02-26 09:02:31 -08:00
_tensor_str.py Added tensor.is_complex(), is_complex and dtype.is_complex py binding, tensor printing, and dixed the scalar type returned for complex float (#33268) 2020-02-20 13:38:01 -08:00
_torch_docs.py Fix typo (#34008) 2020-03-03 07:38:40 -08:00
_utils_internal.py Don't use RTLD_GLOBAL to load _C. (#31162) 2020-01-09 07:28:15 -08:00
_utils.py Preserve Backward compatibility of models serialized before #31040 (#33796) 2020-02-26 13:40:38 -08:00
_VF.py [JIT] fix resolving of functions in torch/functional. fix compilation of torch.stft (#33504) 2020-02-26 18:35:43 -08:00
abi-check.cpp
CMakeLists.txt [JIT] Register rpc.rpc_async(..) as a JIT operator (#33329) 2020-03-03 19:57:42 -08:00
custom_class_detail.h [JIT] Fix stateful lambda stuff and simplify code in custom C++ binding API 2020-01-28 11:03:04 -08:00
custom_class.h Remove unnecessary tensor copies (#33732) 2020-02-28 14:47:04 -08:00
extension.h
functional.py Revert D20121915: [JIT] Add support for list() 2020-03-06 07:16:40 -08:00
hub.py Consider hub_dir alongside TORCH_HOME env variable for storing hub models (#32844) 2020-02-05 15:35:53 -08:00
py.typed
quasirandom.py Fix crash of SobolEngine if default tensor type is cuda (#32496) 2020-01-29 08:49:18 -08:00
random.py Move torch.cuda's atfork handler into C++ (#29101) 2019-11-11 07:34:27 -08:00
README.txt
script.h [jit] do the code reorg (#33851) 2020-02-27 13:02:51 -08:00
serialization.py Avoid problematic pickle usages on Python 3.8.0 and 3.8.1 (#33824) 2020-02-26 21:15:38 -08:00
storage.py Fix all occurrences of C416. (#33429) 2020-02-21 08:32:22 -08:00
tensor.py avoid large vector copy when query per_channel q_params (#31040) 2020-02-19 16:24:24 -08: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.