pytorch/torch
Heitor Schueroff 34c49d3d3b Document torch.quantile interpolation kwarg (#70637)
Summary:
clone of https://github.com/pytorch/pytorch/pull/59397

This PR documents the interpolation kwarg parameter added in https://github.com/pytorch/pytorch/issues/49267. Now that the forward compatibility period is over, we can expose this parameter.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/70637

Reviewed By: jbschlosser

Differential Revision: D33411707

Pulled By: anjali411

fbshipit-source-id: f5f2d0a6739b3a855bbdf58fc671ac2f0342ce69
2022-01-05 11:02:13 -08:00
..
_C Revert D33198155: Bump version number to 7 and compile old operators with old schema 2022-01-04 13:44:59 -08:00
_masked Strided masked var. (#68738) 2021-12-01 19:19:37 -08:00
ao dbr quant: stop calling eager quant convert (#70247) 2022-01-05 06:36:44 -08:00
autograd Do not use ZeroTensor for inplace ops (#69998) 2021-12-23 15:52:34 -08:00
backends NNAPI: Add qint16 support via int16 (#70621) 2022-01-04 23:12:38 -08:00
contrib
cpu
csrc [jit] [shape analysis] Move constant tensors out of fused subgraphs during generalization (#70320) 2022-01-05 10:19:14 -08:00
cuda Add nvidia-smi memory and utilization as native Python API (#69104) 2021-12-08 10:33:23 -08:00
distributed Prevent sum overflow in broadcast_object_list (#70605) 2022-01-05 09:07:39 -08:00
distributions [Reinstate] Wishart distribution (#70377) 2021-12-30 11:41:46 -08:00
fft
for_onnx
futures
fx [fx2trt] Add version check for ProfilingVerbosity bulider config (#70286) 2021-12-30 19:59:25 -08:00
jit Revert D33198155: Bump version number to 7 and compile old operators with old schema 2022-01-04 13:44:59 -08:00
legacy
lib
linalg torch.linalg routines return torch.linalg.LinAlgError when a numerical error in the computation is found. (#68571) 2021-12-23 10:53:26 -08:00
multiprocessing make ProcessException pickleable (#70118) 2021-12-30 09:09:55 -08:00
nn [docs] multi_head_attention_forward no-batch dim support (#70590) 2022-01-05 08:26:25 -08:00
onnx [ONNX] Add BFloat16 type support when export to ONNX (#66788) 2021-12-14 12:23:32 -08:00
optim fix typo in adam docs (#70387) 2021-12-28 07:35:39 -08:00
package
profiler Add low level torch.profiler.kineto_profile base class (#63302) 2021-12-14 14:47:43 -08:00
quantization [quant][fx][graphmode][be] Change the type for output of convert to be torch.nn.Module (#69959) 2021-12-29 20:33:32 -08:00
sparse Sparse CSR CUDA: Add torch.sparse.sampled_addmm (#68007) 2021-11-29 15:43:29 -08:00
special
testing Prevent sum overflow in broadcast_object_list (#70605) 2022-01-05 09:07:39 -08:00
utils [DataPipe] Renaming FileLoader to FileOpener with deprecation warning for FileLoader (#70367) 2022-01-04 09:14:50 -08:00
__config__.py
__future__.py
__init__.py expose return_types in Python (#66614) 2021-12-06 09:05:29 -08:00
_appdirs.py
_classes.py
_deploy.py
_jit_internal.py Back out "Make TorchScript Preserve Fully Qualified Class Name for Python Exceptions" 2021-12-27 09:11:46 -08:00
_linalg_utils.py
_lobpcg.py
_lowrank.py
_namedtensor_internals.py
_ops.py
_python_dispatcher.py
_six.py
_sources.py
_storage_docs.py
_tensor_docs.py Document torch.quantile interpolation kwarg (#70637) 2022-01-05 11:02:13 -08:00
_tensor_str.py added set_printoptions examples (#68324) 2021-12-14 07:40:52 -08:00
_tensor.py [quant] Remove warning for quantized Tensor in __dir__ (#69265) 2021-12-02 10:30:36 -08:00
_torch_docs.py Document torch.quantile interpolation kwarg (#70637) 2022-01-05 11:02:13 -08:00
_utils_internal.py
_utils.py
_VF.py
_vmap_internals.py
abi-check.cpp
autocast_mode.py
CMakeLists.txt Codegen: Generate seperate headers per operator (#68247) 2021-12-14 06:40:08 -08:00
custom_class_detail.h
custom_class.h
deploy.h
extension.h
functional.py Revert D32521980: Add linalg.lu_factor 2021-11-28 17:22:15 -08:00
hub.py
library.h
overrides.py Document torch.quantile interpolation kwarg (#70637) 2022-01-05 11:02:13 -08:00
py.typed
quasirandom.py
random.py
README.txt
return_types.py expose return_types in Python (#66614) 2021-12-06 09:05:29 -08:00
script.h
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.