pytorch/torch
taivu 665da61d2b Replace Conv1d with Conv2d (#42867)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/42867

Test Plan: Imported from OSS

Reviewed By: kimishpatel

Differential Revision: D23177916

Pulled By: kimishpatel

fbshipit-source-id: 68cc40cf42d03e5b8432dc08f9933a4409c76e25
2020-08-20 21:36:51 -07:00
..
_C Fix type annotations for a number of torch.utils submodules (#42711) 2020-08-14 18:12:48 -07:00
autograd Don't materialize output grads (#41821) 2020-08-11 04:27:07 -07:00
backends [reland] Enable TF32 support for cuBLAS (#41498) 2020-07-15 21:00:55 -07:00
contrib remediation of S205607 2020-07-17 17:19:47 -07:00
csrc Replace Conv1d with Conv2d (#42867) 2020-08-20 21:36:51 -07:00
cuda Update cuda init docstring to improve clarity (#42923) 2020-08-12 15:41:28 -07:00
distributed Minor RPC doc fixes (#43337) 2020-08-20 14:17:07 -07:00
distributions clamp Categorical logit from -inf to min_fifo when calculating entropy (#41002) 2020-07-14 16:21:12 -07:00
fft Adds fft namespace (#41911) 2020-08-06 00:20:50 -07:00
for_onnx
futures Add done() API to Future (#42013) 2020-07-24 14:13:41 -07:00
fx [fx] split Node into Node/Proxy (#42991) 2020-08-14 16:45:21 -07:00
jit [jit] better error message (#43093) 2020-08-17 14:57:56 -07:00
legacy
lib [NCCL] Changed FutureNCCL's then callback logic for better efficiency. (#42869) 2020-08-19 19:42:22 -07:00
linalg Adds linalg.det alias, fixes outer alias, updates alias testing (#42802) 2020-08-11 21:48:31 -07:00
multiprocessing
nn Make grad point to bucket buffer in DDP to save memory usage (#41954) 2020-08-20 15:33:44 -07:00
onnx [ONNX] Squeeze operator should give an error when trying to apply to a dimension with shape > 1 (#38476) 2020-08-17 17:41:46 -07:00
optim Fix "non-negative integer" error messages (#42734) 2020-08-10 19:39:37 -07:00
quantization [quant] Make OP_LIST_TO_FUSER_METHOD public (#43286) 2020-08-20 20:19:13 -07:00
sparse Fix type annotations for torch.sparse, enable in CI (#43108) 2020-08-17 14:40:11 -07:00
testing [quant][graphmode][fx] Add support for conv module (#43285) 2020-08-20 19:53:30 -07:00
utils Add torch.dot for complex tensors (#42745) 2020-08-17 09:05:41 -07:00
__config__.py
__future__.py
__init__.py Adds torch.linalg namespace (#42664) 2020-08-07 10:18:30 -07:00
_appdirs.py Delete Python <= 3.5 specific checks from the code (#39879) 2020-06-15 08:16:06 -07:00
_classes.py
_jit_internal.py [JIT] Fix typing.Final for python 3.8 (#39568) 2020-08-11 08:51:46 -07:00
_linalg_utils.py Support custom exception message (#41907) 2020-08-01 13:03:45 -07:00
_lobpcg.py Add __torch_function__ for methods (#37091) 2020-08-05 20:44:13 -07:00
_lowrank.py Add __torch_function__ for methods (#37091) 2020-08-05 20:44:13 -07:00
_namedtensor_internals.py
_ops.py move misc implementation out of jit/__init__.py (#41154) 2020-07-13 16:59:55 -07:00
_six.py Add typing support to torch._six (#42232) 2020-07-30 12:12:46 -07:00
_storage_docs.py
_tensor_docs.py Update torch.Tensor.is_set_to documentation (#43052) 2020-08-20 07:40:00 -07:00
_tensor_str.py [quant] Create PerRowQuantizer for floating point scale and zero_point (#42612) 2020-08-13 11:20:53 -07:00
_torch_docs.py Introducing Matrix exponential (#40161) 2020-08-18 14:15:10 -07:00
_utils_internal.py Fix get_writable_path (#42895) 2020-08-12 09:38:24 -07:00
_utils.py Decouple DataParallel/DistributedDataParallel from CUDA (#38454) 2020-07-07 12:48:16 -07:00
_VF.py
_vmap_internals.py vmap: fixed to work with functools.partial (#43028) 2020-08-17 13:36:49 -07:00
abi-check.cpp
CMakeLists.txt refactor torch/cuda/nccl.h to remove direct dependency on NCCL in libtorch_python (#42687) 2020-08-19 20:16:53 -07:00
custom_class_detail.h
custom_class.h avoid redundant isCustomClassRegistered() checks (#42852) 2020-08-11 21:53:19 -07:00
extension.h
functional.py Add __torch_function__ for methods (#37091) 2020-08-05 20:44:13 -07:00
hub.py Fix torch.hub for new zipfile format. (#42333) 2020-08-20 14:54:02 -07:00
library.h Reimplement per-operator selective build (#39401) 2020-08-20 19:10:02 -07:00
overrides.py Introducing Matrix exponential (#40161) 2020-08-18 14:15:10 -07:00
py.typed remediation of S205607 2020-07-17 17:19:47 -07:00
quasirandom.py Fix HTTP links in documentation to HTTPS (#40878) 2020-07-06 20:05:21 -07:00
random.py Fix manual seed to unpack unsigned long (#42206) 2020-08-11 18:05:34 -07:00
README.txt
script.h
serialization.py DOC: fail to build if there are warnings (#41335) 2020-07-28 22:33:44 -07:00
storage.py [testing] Dont use zipfile for storage __reduce__ (#39893) 2020-06-12 16:48:12 -07:00
tensor.py Add complex tensor dtypes for the __cuda_array_interface__ spec (#42918) 2020-08-14 10:26:23 -07:00
types.py Fix type annotations for a number of torch.utils submodules (#42711) 2020-08-14 18:12:48 -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.