pytorch/torch
David Reiss d6b51e4adf In interpolate, join short lines (#37170)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37170

ghstack-source-id: 102773588

Test Plan: CI

Reviewed By: kimishpatel

Differential Revision: D21209998

fbshipit-source-id: 9386e54aa85a5576678d21d443017079028f8dca
2020-05-06 13:03:45 -07:00
..
autograd Revert "Revert D21337640: [pytorch][PR] Split up documentation into subpages and clean up some warnings" (#37778) 2020-05-04 14:32:35 -07:00
backends Integrate XNNPACK with custom class for packing weights. (#34047) 2020-03-14 12:51:56 -07:00
contrib
csrc Whitespace cleanup (#37165) 2020-05-06 13:01:56 -07:00
cuda Change DeprecationWarning to UserWarning in torch.cuda (#32142) 2020-05-06 08:28:43 -07:00
distributed [Caffe2] raise exceptions instead of str (#37744) 2020-05-05 13:34:33 -07:00
distributions Fix many doc issues (#37099) 2020-04-23 10:01:03 -07:00
for_onnx
jit [JIT]Support adv indexing using list. (#37848) 2020-05-06 10:44:48 -07:00
legacy
lib Back out "Revert D21171334: [pytorch][PR] Change StorageImpl to track byte count rather than element count" (#37893) 2020-05-05 22:43:15 -07:00
multiprocessing Remove (most) Python 2 support from Python code (#35615) 2020-04-22 09:23:14 -07:00
nn In interpolate, join short lines (#37170) 2020-05-06 13:03:45 -07:00
onnx [quant] ConvPackedParams with TorchBind (#35923) 2020-05-05 20:18:36 -07:00
optim Fix multiple issues with type annotations (#36358) 2020-04-29 11:16:39 -07:00
quantization [wip] Make quantization modules work with DataParallel (#37032) 2020-05-05 13:06:43 -07:00
sparse Fix type annotations and make MyPy run on torch/ (#36584) 2020-04-22 14:17:08 -07:00
testing [JIT] rename enable_profiling_mode to enable_profiling_mode_for_profiling_tests (#37825) 2020-05-06 11:30:02 -07:00
utils Enable ahead of time compilation for HIPExtensions using ninja (#37800) 2020-05-05 20:53:35 -07:00
__config__.py
__future__.py
__init__.py Revert "Revert D21337640: [pytorch][PR] Split up documentation into subpages and clean up some warnings" (#37778) 2020-05-04 14:32:35 -07:00
__init__.pyi.in Fix multiple issues with type annotations (#36358) 2020-04-29 11:16:39 -07:00
_appdirs.py Fix cpp_ext build dir create permission (#34239) 2020-04-30 11:30:07 -07:00
_classes.py [reapply][JIT] Namespaces for TorchBind (#35254) 2020-03-24 00:39:48 -07:00
_jit_internal.py [JIT] Fix fake_range() (#36083) 2020-04-06 14:12:35 -07:00
_linalg_utils.py Fix type annotations and make MyPy run on torch/ (#36584) 2020-04-22 14:17:08 -07:00
_lobpcg.py Revert "Revert D21337640: [pytorch][PR] Split up documentation into subpages and clean up some warnings" (#37778) 2020-05-04 14:32:35 -07:00
_lowrank.py Revert "Revert D21337640: [pytorch][PR] Split up documentation into subpages and clean up some warnings" (#37778) 2020-05-04 14:32:35 -07:00
_namedtensor_internals.py Remove (most) Python 2 support from Python code (#35615) 2020-04-22 09:23:14 -07:00
_ops.py [JIT] Passing custom class as arg (#32260) 2020-01-23 14:54:59 -08:00
_overrides.py Add channel shuffle op fp32 + quantized. (#36815) 2020-05-01 10:07:15 -07:00
_six.py PCA and SVD for low-rank matrices, LOBPCG for positive-defined generalized eigenvalue problem - copy (#34721) 2020-03-16 14:13:30 -07:00
_storage_docs.py Python API for Complex Storage and storage copy logic (#35771) 2020-05-01 11:47:22 -07:00
_tensor_docs.py Revert "Revert D21337640: [pytorch][PR] Split up documentation into subpages and clean up some warnings" (#37778) 2020-05-04 14:32:35 -07:00
_tensor_str.py Remove unnecessary whitespace in complex tensors (#36331) 2020-04-09 19:35:05 -07:00
_torch_docs.py Revert "Revert D21337640: [pytorch][PR] Split up documentation into subpages and clean up some warnings" (#37778) 2020-05-04 14:32:35 -07:00
_utils_internal.py Separate RTLD_GLOBAL from _load_global_deps() (#36682) 2020-04-22 19:08:44 -07: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 [Tensorpipe/RPC] tensorpipe RPC agent (#35483) 2020-05-05 05:47:43 -07:00
custom_class_detail.h [wip] Allow ArrayRef as kernel parameter (#34335) 2020-04-24 13:05:49 -07:00
custom_class.h Back out "Revert D21089648: Put TORCH_LIBRARY in torch/library.h; add custom class API" 2020-04-22 09:18:23 -07:00
extension.h
functional.py Add Inverse Short Time Fourier Transform in ATen native (#35569) 2020-04-24 12:14:55 -07:00
hub.py Fix type annotations and make MyPy run on torch/ (#36584) 2020-04-22 14:17:08 -07:00
library.h Back out "Revert D21089648: Put TORCH_LIBRARY in torch/library.h; add custom class API" 2020-04-22 09:18:23 -07:00
py.typed
quasirandom.py [pytorch] Make behavior of SobolEngine consistent w/ other RNG functions (#36427) 2020-04-13 07:53:33 -07:00
random.py
README.txt
script.h [jit] do the code reorg (#33851) 2020-02-27 13:02:51 -08:00
serialization.py Remove (most) Python 2 support from Python code (#35615) 2020-04-22 09:23:14 -07:00
storage.py Python API for Complex Storage and storage copy logic (#35771) 2020-05-01 11:47:22 -07:00
tensor.py Fixes type annotations for named tensors #27846 (#36890) 2020-04-28 06:51:22 -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.