pytorch/torch
anjali411 96eec95ece torch.from_numpy for complex dtypes (#35531)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/35531

Differential Revision: D20693581

Pulled By: anjali411

fbshipit-source-id: d53e26b4175452fa00b287efbfceea18104c1364
2020-03-27 14:40:28 -07:00
..
autograd Gradcheck for complex (#35238) 2020-03-24 08:40:14 -07:00
backends Integrate XNNPACK with custom class for packing weights. (#34047) 2020-03-14 12:51:56 -07:00
contrib
csrc torch.from_numpy for complex dtypes (#35531) 2020-03-27 14:40:28 -07:00
cuda [RELAND2] Eager autocasting, out-of-place ops only (with MSVC 2017 fix) (#35102) 2020-03-24 09:08:04 -07:00
distributed Reland "[RPC] Use qualified name str directly in RPC torch script code path" (#35489) 2020-03-26 23:41:51 -07:00
distributions [jit] Remove stray @script (#34938) 2020-03-24 13:44:38 -07:00
for_onnx
jit [pytorch] Remove python2 support from tests and torch.jit (#35042) 2020-03-26 21:29:51 -07:00
legacy
lib Formatting cmake (to lowercase without space for if/elseif/else/endif) (#35521) 2020-03-27 14:25:17 -07:00
multiprocessing [torch/multiprocessing] Update documentation indicating that start_method is ignored for mp.spawn() (#33070) 2020-02-07 15:26:00 -08:00
nn (Fixes #33934) Fix AttributeError for nn.Module's properties (#34324) 2020-03-26 07:43:21 -07:00
onnx Revert D19710370: [pytorch][PR] ONNX Update training ops and training amenable export API 2020-03-27 06:51:05 -07:00
optim Fix typo in documentation (#34581) 2020-03-11 13:57:10 -07:00
quantization [quant][graph] Add a new observer type for dynamic quantization (#35455) 2020-03-26 17:38:21 -07:00
sparse
testing Revert D20687652: [pytorch][PR] Report results from cpp unittests on Windows and Linux 2020-03-27 06:56:53 -07:00
utils Revert D19710370: [pytorch][PR] ONNX Update training ops and training amenable export API 2020-03-27 06:51:05 -07:00
__config__.py
__future__.py
__init__.py Revert "Load torch_global_deps for Windows (#35177)" (#35355) 2020-03-26 07:33:48 -07:00
__init__.pyi.in [quant] Add dequantize.tensors (#34348) 2020-03-20 22:51:51 -07:00
_classes.py [reapply][JIT] Namespaces for TorchBind (#35254) 2020-03-24 00:39:48 -07:00
_jit_internal.py [jit] make Future type annotation available in Python (#27637) 2020-03-24 14:36:05 -07:00
_linalg_utils.py PCA and SVD for low-rank matrices, LOBPCG for positive-defined generalized eigenvalue problem - copy (#34721) 2020-03-16 14:13:30 -07:00
_lobpcg.py PCA and SVD for low-rank matrices, LOBPCG for positive-defined generalized eigenvalue problem - copy (#34721) 2020-03-16 14:13:30 -07:00
_lowrank.py PCA and SVD for low-rank matrices, LOBPCG for positive-defined generalized eigenvalue problem - copy (#34721) 2020-03-16 14:13:30 -07:00
_namedtensor_internals.py
_ops.py [JIT] Passing custom class as arg (#32260) 2020-01-23 14:54:59 -08:00
_overrides.py Revert D20653072: [pytorch][PR] Add __torch_function__ benchmarks. 2020-03-26 13:36:59 -07:00
_six.py PCA and SVD for low-rank matrices, LOBPCG for positive-defined generalized eigenvalue problem - copy (#34721) 2020-03-16 14:13:30 -07:00
_storage_docs.py
_tensor_docs.py Add docs to resize_ and resize_as_ (#35392) 2020-03-25 14:09:25 -07:00
_tensor_str.py Added tensor.is_complex(), is_complex and dtype.is_complex py binding, tensor printing, and dixed the scalar type returned for complex float (#33268) 2020-02-20 13:38:01 -08:00
_torch_docs.py torch.from_numpy for complex dtypes (#35531) 2020-03-27 14:40:28 -07:00
_utils_internal.py [jit] Include call stack in OSError message (#34669) 2020-03-18 15:10:23 -07:00
_utils.py Preserve Backward compatibility of models serialized before #31040 (#33796) 2020-02-26 13:40:38 -08:00
_VF.py [JIT] fix resolving of functions in torch/functional. fix compilation of torch.stft (#33504) 2020-02-26 18:35:43 -08:00
abi-check.cpp
CMakeLists.txt Enable tensorexpr cpp tests in CI. try #2 (#35454) 2020-03-27 12:09:55 -07:00
custom_class_detail.h [reapply][JIT] Namespaces for TorchBind (#35254) 2020-03-24 00:39:48 -07:00
custom_class.h [reapply][JIT] Namespaces for TorchBind (#35254) 2020-03-24 00:39:48 -07:00
extension.h
functional.py PCA and SVD for low-rank matrices, LOBPCG for positive-defined generalized eigenvalue problem - copy (#34721) 2020-03-16 14:13:30 -07:00
hub.py Consider hub_dir alongside TORCH_HOME env variable for storing hub models (#32844) 2020-02-05 15:35:53 -08:00
py.typed
quasirandom.py Fix crash of SobolEngine if default tensor type is cuda (#32496) 2020-01-29 08:49:18 -08:00
random.py
README.txt
script.h [jit] do the code reorg (#33851) 2020-02-27 13:02:51 -08:00
serialization.py PCA and SVD for low-rank matrices, LOBPCG for positive-defined generalized eigenvalue problem - copy (#34721) 2020-03-16 14:13:30 -07:00
storage.py Fix all occurrences of C416. (#33429) 2020-02-21 08:32:22 -08:00
tensor.py avoid large vector copy when query per_channel q_params (#31040) 2020-02-19 16:24:24 -08: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.