pytorch/torch
Anthony Shoumikhin 97750e03a4 [torch][edge] Add int to the copy kernel. (#69297)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69297

.

Test Plan: CI

Reviewed By: JacobSzwejbka

Differential Revision: D32799822

fbshipit-source-id: c40fdb55a706b3a8eccaa69dbfbc6d7af0b111e4
2021-12-02 12:13:58 -08:00
..
_C Aloow Union of scalars to be NumberType (#66591) 2021-12-02 10:52:02 -08:00
_masked Strided masked var. (#68738) 2021-12-01 19:19:37 -08:00
ao ns for fx: fix bug in graph matcher (#69238) 2021-12-02 09:59:57 -08:00
autograd Add efficient zero tensors (#64837) 2021-12-02 08:47:45 -08:00
backends Add an option to disable reduced precision reductions for FP16 GEMM (#67946) 2021-11-09 17:27:20 -08:00
contrib
cpu Add fp16/fp32 autocasting to JIT/TorchScript (#63939) 2021-10-27 12:11:36 -07:00
csrc [torch][edge] Add int to the copy kernel. (#69297) 2021-12-02 12:13:58 -08:00
cuda Update Documentation to Make CUDA Call Explicit (#67973) 2021-11-23 16:25:37 -08:00
distributed [shard] add back init_from_local_shard_and_global_metadata API (#69226) 2021-12-02 01:02:56 -08:00
distributions Add kl divergence between normal and laplace distribution. (#68807) 2021-12-01 10:22:08 -08:00
fft
for_onnx
futures
fx [fx] remove CPatcher (#69032) 2021-11-30 11:59:57 -08:00
jit Aloow Union of scalars to be NumberType (#66591) 2021-12-02 10:52:02 -08:00
legacy
lib [NOOP][clangformat][codemod] Enable CLANGFORMAT for some folders in caffe2/* (#67746) 2021-11-03 12:23:14 -07:00
linalg Revert D32521980: Add linalg.lu_factor 2021-11-28 17:22:15 -08:00
multiprocessing
nn Add missing spaces to an error message (#69289) 2021-12-02 11:03:33 -08:00
onnx Added antialias flag to interpolate (CPU only, bilinear) (#65142) 2021-11-17 09:10:15 -08:00
optim Fix RAdam docstring on LR default value (#69186) 2021-12-01 14:32:07 -08:00
package
profiler [Reland] Python tracer. (#68325) 2021-11-15 23:32:49 -08:00
quantization
sparse Sparse CSR CUDA: Add torch.sparse.sampled_addmm (#68007) 2021-11-29 15:43:29 -08:00
special
testing Add efficient zero tensors (#64837) 2021-12-02 08:47:45 -08:00
utils [DataPipe] Adding BatcherMapDataPipe (#68197) 2021-12-02 07:27:17 -08:00
__config__.py
__future__.py
__init__.py Add set_deterministic_debug_mode and get_deterministic_debug_mode (#67778) 2021-11-11 12:48:29 -08:00
_appdirs.py
_classes.py
_deploy.py [deploy] fix TypedStorage serialization (#67499) 2021-10-28 22:33:04 -07:00
_jit_internal.py [package] fix torchscript classes in package (#68028) 2021-11-16 10:01:40 -08:00
_linalg_utils.py
_lobpcg.py torch.lobpcg.backward: do not save non-Variable types with ctx.save_for_backward. (#67994) 2021-11-08 10:02:09 -08:00
_lowrank.py
_namedtensor_internals.py
_ops.py
_python_dispatcher.py
_six.py
_sources.py Disallow annotations on instance attributes outside __init__ (#67051) 2021-10-25 16:20:47 -07:00
_storage_docs.py
_tensor_docs.py [numpy] Alias arctan2 to atan2 (#67010) 2021-11-16 09:41:09 -08:00
_tensor_str.py Add efficient zero tensors (#64837) 2021-12-02 08:47:45 -08:00
_tensor.py [quant] Remove warning for quantized Tensor in __dir__ (#69265) 2021-12-02 10:30:36 -08:00
_torch_docs.py Tensor docs (#63308) 2021-11-28 21:26:12 -08:00
_utils_internal.py
_utils.py
_VF.py
_vmap_internals.py More aggressively market functorch.vmap when torch.vmap gets called (#67347) 2021-11-12 16:10:16 -08:00
abi-check.cpp
autocast_mode.py Add fp16/fp32 autocasting to JIT/TorchScript (#63939) 2021-10-27 12:11:36 -07:00
CMakeLists.txt Revert D32010095: [pytorch][PR] Add ability for a mobile::Module to save as flatbuffer 2021-12-02 06:41:40 -08:00
custom_class_detail.h [NOOP][clangformat][codemod] Enable CLANGFORMAT for some folders in caffe2/* (#67746) 2021-11-03 12:23:14 -07:00
custom_class.h [NOOP][clangformat][codemod] Enable CLANGFORMAT (#67854) 2021-11-04 14:07:57 -07:00
deploy.h
extension.h
functional.py Revert D32521980: Add linalg.lu_factor 2021-11-28 17:22:15 -08:00
hub.py making import_module private and deprecating public method (#67990) 2021-11-09 07:27:57 -08:00
library.h [NOOP][clangformat][codemod] Enable CLANGFORMAT for some folders in caffe2/* (#67746) 2021-11-03 12:23:14 -07:00
overrides.py Add efficient zero tensors (#64837) 2021-12-02 08:47:45 -08:00
py.typed
quasirandom.py
random.py
README.txt
script.h [NOOP][clangformat][codemod] Enable CLANGFORMAT for some folders in caffe2/* (#67746) 2021-11-03 12:23:14 -07:00
serialization.py Avoid dtype mismatch error in torch.save if storages are unallocated (#68787) 2021-11-24 09:51:29 -08:00
storage.py
torch_version.py
types.py

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.