pytorch/torch
James Reed b60c3dfdd9 Add fallback wrapper for profiler (#37194)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/37194

Test Plan: Imported from OSS

Reviewed By: ilia-cher, ngimel

Differential Revision: D21217886

Pulled By: jamesr66a

fbshipit-source-id: b06195e9ac110979d128391e067d5c9f416c1873
2020-04-24 16:24:58 -07:00
..
autograd Added autograd support for C->C functions and enabled requires_grad=True for complex (#36932) 2020-04-24 12:30:49 -07:00
backends
contrib
csrc Add fallback wrapper for profiler (#37194) 2020-04-24 16:24:58 -07:00
cuda ROCm: don't warn about CUDA compute capabilities (#35949) 2020-04-20 11:53:56 -07:00
distributed [resubmit][rpc] per-RPC timeouts for rpc_sync and rpc_async (#34650) 2020-04-22 13:00:42 -07:00
distributions Fix many doc issues (#37099) 2020-04-23 10:01:03 -07:00
for_onnx
jit Add Inverse Short Time Fourier Transform in ATen native (#35569) 2020-04-24 12:14:55 -07:00
legacy
lib
multiprocessing Remove (most) Python 2 support from Python code (#35615) 2020-04-22 09:23:14 -07:00
nn Non-blocking SyncBatchNorm update (#36659) 2020-04-23 10:22:19 -07:00
onnx add absolute alias for abs (#36597) 2020-04-20 14:49:51 -07:00
optim
quantization Speed up calculate Qparams for per-channel observers (#30485) 2020-04-24 07:32:36 -07:00
sparse Fix type annotations and make MyPy run on torch/ (#36584) 2020-04-22 14:17:08 -07:00
testing Added complex dtypes to get_all_math_dtypes, complex acc type for cpu, fixed rdiv and pow for complex (#37193) 2020-04-24 15:05:50 -07:00
utils Fix type annotations and make MyPy run on torch/ (#36584) 2020-04-22 14:17:08 -07:00
__config__.py
__future__.py
__init__.py Separate RTLD_GLOBAL from _load_global_deps() (#36682) 2020-04-22 19:08:44 -07:00
__init__.pyi.in Add Inverse Short Time Fourier Transform in ATen native (#35569) 2020-04-24 12:14:55 -07:00
_classes.py
_jit_internal.py
_linalg_utils.py Fix type annotations and make MyPy run on torch/ (#36584) 2020-04-22 14:17:08 -07:00
_lobpcg.py Fix type annotations and make MyPy run on torch/ (#36584) 2020-04-22 14:17:08 -07:00
_lowrank.py Fix type annotations and make MyPy run on torch/ (#36584) 2020-04-22 14:17:08 -07:00
_namedtensor_internals.py Remove (most) Python 2 support from Python code (#35615) 2020-04-22 09:23:14 -07:00
_ops.py
_overrides.py Add Inverse Short Time Fourier Transform in ATen native (#35569) 2020-04-24 12:14:55 -07:00
_six.py
_storage_docs.py
_tensor_docs.py Add Inverse Short Time Fourier Transform in ATen native (#35569) 2020-04-24 12:14:55 -07:00
_tensor_str.py Remove unnecessary whitespace in complex tensors (#36331) 2020-04-09 19:35:05 -07:00
_torch_docs.py Implements torch.isclose for complex tensors (#36456) 2020-04-21 19:53:55 -07:00
_utils.py
_utils_internal.py Separate RTLD_GLOBAL from _load_global_deps() (#36682) 2020-04-22 19:08:44 -07:00
_VF.py
abi-check.cpp
CMakeLists.txt Do not link torch_python with nccl (#37040) 2020-04-21 21:00: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
custom_class_detail.h [wip] Allow ArrayRef as kernel parameter (#34335) 2020-04-24 13:05:49 -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
serialization.py Remove (most) Python 2 support from Python code (#35615) 2020-04-22 09:23:14 -07:00
storage.py
tensor.py Added complex dtypes to get_all_math_dtypes, complex acc type for cpu, fixed rdiv and pow for complex (#37193) 2020-04-24 15:05:50 -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.