pytorch/torch
ShahriarSS 4ccb707161 Removing deprecated warning message from torch.h (#24002)
Summary:
discussed [here](https://github.com/pytorch/vision/issues/1173)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/24002

Differential Revision: D16710635

Pulled By: yf225

fbshipit-source-id: 95117dd601061691d4cfd0d644777825aeaeaf8c
2019-08-08 12:49:48 -07:00
..
_thnn
autograd Added torch.autograd.profiler.record_function() as context manager. (#23428) 2019-07-30 11:10:01 -07:00
backends Fix cuda and cudnn libraries search process on Windows (#20205) 2019-05-08 06:08:47 -07:00
contrib
csrc Removing deprecated warning message from torch.h (#24002) 2019-08-08 12:49:48 -07:00
cuda Let set_rng_state and get_rng_state accept string parameter (#23448) 2019-07-29 08:08:39 -07:00
distributed sync and async torch.distributed.rpc for builtin operators (#23228) 2019-08-06 16:03:01 -07:00
distributions Fix distributions.Categorical.sample bug from .view() (#23328) 2019-07-29 12:09:50 -07:00
for_onnx
jit add support for overloading functions (#23886) 2019-08-07 19:18:19 -07:00
legacy
lib Remove superfluous check (#23370) 2019-07-25 11:26:16 -07:00
multiprocessing Add multiprocessing_context= argument to DataLoader (#22990) 2019-07-29 12:58:40 -07:00
nn jit.script() testing and fixes (#23891) 2019-08-08 12:06:18 -07:00
onnx Std opset export (#22310) 2019-08-05 15:55:42 -07:00
optim Update CosineAnnealingWarmRestarts to follow PyTorch 1.1+ Step Order. (#23833) 2019-08-07 07:15:50 -07:00
quantization Remove qconfig_dict from API (#23465) 2019-08-02 10:28:48 -07:00
sparse
testing Fix get_all_math_dtypes for device='cuda' retuning None (#23028) 2019-07-19 09:29:16 -07:00
utils Fix dataloader._shutdown_workers if not all workers are started (#23761) 2019-08-07 09:06:11 -07:00
__config__.py
__future__.py Add torch.__future__._overwrite_module_params_on_conversion global flag, and check it in nn.Module._apply() (#21613) 2019-06-19 10:30:02 -07:00
__init__.py Updated docs and added deprecation warnings to acknowledge a bool tensor (#22261) 2019-08-05 07:42:34 -07:00
__init__.pyi.in Updated docs and added deprecation warnings to acknowledge a bool tensor (#22261) 2019-08-05 07:42:34 -07:00
_classes.py Initial torchbind prototype (#21098) 2019-08-02 18:45:15 -07:00
_jit_internal.py Initial torchbind prototype (#21098) 2019-08-02 18:45:15 -07:00
_ops.py Initial torchbind prototype (#21098) 2019-08-02 18:45:15 -07:00
_six.py Finished the high-priority functions (#21127) 2019-06-04 17:59:05 -07:00
_storage_docs.py Enabled BFloat16 storage (#21523) 2019-07-09 21:51:06 -07:00
_tensor_docs.py Updated docs and added deprecation warnings to acknowledge a bool tensor (#22261) 2019-08-05 07:42:34 -07:00
_tensor_str.py Add names to repr for named tensors 2019-08-02 11:37:29 -07:00
_torch_docs.py Fix docstring for argmax (#23775) 2019-08-07 09:42:19 -07:00
_utils_internal.py
_utils.py Catch and print exception traceback in parallel_apply() workers (#18055) 2019-07-26 11:41:22 -07:00
abi-check.cpp
CMakeLists.txt sync and async torch.distributed.rpc for builtin operators (#23228) 2019-08-06 16:03:01 -07:00
custom_class.h Initial torchbind prototype (#21098) 2019-08-02 18:45:15 -07:00
extension.h
functional.py Changed tensor comparison return type from uint8 to bool (#21113) 2019-08-01 07:54:53 -07:00
hub.py Use dst dir for temp file (#23629) 2019-07-31 19:04:03 -07:00
py.typed
quasirandom.py
random.py Refactor Random Number Generators in ATen (#21555) 2019-06-19 13:54:09 -07:00
README.txt
script.h
serialization.py fix error message 2019-07-18 23:38:55 -07:00
storage.py Enabled BFloat16 storage (#21523) 2019-07-09 21:51:06 -07:00
tensor.py pin_memory should not copy on already pinned tensors (#23484) 2019-07-30 21:16:23 -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.