pytorch/torch
Kevin Tse ed17851642 [DataPipe] adding test for IterableWrapperIterDataPipe (#66276)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66276

cc VitalyFedyunin ejguan NivekT

Test Plan: Imported from OSS

Reviewed By: ejguan

Differential Revision: D31485824

Pulled By: NivekT

fbshipit-source-id: c7b21636e4b17e264bfb5dbea69cd3c477472f0b
2021-10-08 08:32:26 -07:00
..
_C [PyTorch Edge][type] Add type check in compatibility api (#63129) 2021-10-06 02:23:44 -07:00
ao [quant][embedding qat] Add basic EmbeddingBag QAT fakeQuant workflow (#65443) 2021-10-07 20:19:29 -07:00
autograd Refactor functional api vectorized jacobian to use batched grad parameter (#65566) 2021-10-03 19:55:08 -07:00
backends Add quantized::convtranspose2d (#63914) 2021-09-24 17:07:29 -07:00
contrib
cpu
csrc Allow registration of custom symbolics for prim namespace (#64460) (#66139) 2021-10-08 07:41:06 -07:00
cuda Remove dtype from torch.Storage and use only torch.ByteStorage (#62030) 2021-10-05 13:50:34 -07:00
distributed add gather to ShardedTensor (#65671) 2021-10-07 13:01:12 -07:00
distributions
fft C++ API and docs for hfftn (#66127) 2021-10-07 12:48:36 -07:00
for_onnx
futures
fx [fx2trt] save and load TRTModule for OSS (#65958) 2021-10-07 22:27:40 -07:00
jit [PyTorch Edge][type] Add type check in compatibility api (#63129) 2021-10-06 02:23:44 -07:00
legacy
lib
linalg
multiprocessing Remove dtype from torch.Storage and use only torch.ByteStorage (#62030) 2021-10-05 13:50:34 -07:00
nn quantized embedding: make error message clearer (#66051) 2021-10-08 08:32:22 -07:00
onnx Allow registration of custom symbolics for prim namespace (#64460) (#66139) 2021-10-08 07:41:06 -07:00
optim Added validation of mode parameter in AveragedModel (#65921) 2021-10-03 08:42:28 -07:00
package [Codemod][FBSourceBlackLinter] Daily arc lint --take BLACK 2021-10-05 20:55:56 -07:00
profiler
quantization [quant] AO migration of the torch/quantization/quantize_fx.py and torch/quantization/fx/* (#65033) 2021-09-22 09:29:15 -07:00
sparse
special [special] special alias for softmax (#62251) 2021-10-01 03:55:32 -07:00
testing Opinfos for avg_pooling (#64214) 2021-10-08 07:26:08 -07:00
utils [DataPipe] adding test for IterableWrapperIterDataPipe (#66276) 2021-10-08 08:32:26 -07:00
__config__.py
__future__.py
__init__.py [oss][pytorch] Add quint2x4 dtype (#65545) 2021-10-06 14:22:00 -07:00
_appdirs.py
_classes.py
_deploy.py
_jit_internal.py
_linalg_utils.py
_lobpcg.py
_lowrank.py
_namedtensor_internals.py
_ops.py
_python_dispatcher.py
_six.py
_sources.py
_storage_docs.py Remove dtype from torch.Storage and use only torch.ByteStorage (#62030) 2021-10-05 13:50:34 -07:00
_tensor_docs.py fixed minor issues for index_add in docs (#65806) 2021-10-08 07:17:15 -07:00
_tensor_str.py
_tensor.py Remove dtype from torch.Storage and use only torch.ByteStorage (#62030) 2021-10-05 13:50:34 -07:00
_torch_docs.py Clarified difference in behavior of empty_strided and as_strided (#64568) 2021-09-30 17:27:59 -07:00
_utils_internal.py
_utils.py Remove dtype from torch.Storage and use only torch.ByteStorage (#62030) 2021-10-05 13:50:34 -07:00
_VF.py
_vmap_internals.py Allow None to pass through for vmap (#65565) 2021-10-03 19:53:49 -07:00
abi-check.cpp
autocast_mode.py
CMakeLists.txt Don't build shared library for AOT Compiler (#66227) 2021-10-06 15:57:32 -07:00
custom_class_detail.h
custom_class.h
deploy.h
extension.h
functional.py implement "xy" indexing for torch.meshgrid (#62724) 2021-09-17 08:31:17 -07:00
hub.py Torchhub: More robust assumption regarding main or master branch (#64364) 2021-09-20 10:36:13 -07:00
library.h
overrides.py Remove dtype from torch.Storage and use only torch.ByteStorage (#62030) 2021-10-05 13:50:34 -07:00
py.typed
quasirandom.py
random.py
README.txt
script.h
serialization.py Remove dtype from torch.Storage and use only torch.ByteStorage (#62030) 2021-10-05 13:50:34 -07:00
storage.py [oss][pytorch] Add quint2x4 dtype (#65545) 2021-10-06 14:22:00 -07:00
torch_version.py Added more version comparison operations (#63848) 2021-09-09 10:30:20 -07:00
types.py Remove dtype from torch.Storage and use only torch.ByteStorage (#62030) 2021-10-05 13:50:34 -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.