pytorch/docs/source
Justin Huber c6d0fdd215 torch.isreal (#41298)
Summary:
https://github.com/pytorch/pytorch/issues/38349

mruberry
Not entirely sure if all the changes are necessary in how functions are added to Pytorch.

Should it throw an error when called with a non-complex tensor? Numpy allows non-complex arrays in its imag() function which is used in its isreal() function but Pytorch's imag() throws an error for non-complex arrays.

Where does assertONNX() get its expected output to compare to?

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

Reviewed By: ngimel

Differential Revision: D22610500

Pulled By: mruberry

fbshipit-source-id: 817d61f8b1c3670788b81690636bd41335788439
2020-07-17 22:07:24 -07:00
..
_static
_templates
_templates-stable
community Fix link to PyTorch organization (from Governance) (#40984) 2020-07-07 11:22:57 -07:00
notes Makes the use of the term "module" consistent through the serialization note (#41563) 2020-07-16 14:59:49 -07:00
rpc
scripts
__config__.rst
amp.rst Added index_put to promotelist (#41035) 2020-07-07 20:36:55 -07:00
autograd.rst Update docs feature classifications (#39966) 2020-06-24 15:35:59 -07:00
bottleneck.rst
checkpoint.rst
complex_numbers.rst Doc note for complex (#41252) 2020-07-16 08:53:27 -07:00
conf.py restore old documentation references (#39086) 2020-07-09 15:20:10 -07:00
cpp_extension.rst
cpp_index.rst
cuda.rst
cudnn_persistent_rnn.rst
data.rst
distributed.rst Add a link in RPC doc page to point to PT Distributed overview (#41108) 2020-07-08 14:00:05 -07:00
distributions.rst
dlpack.rst
docutils.conf
futures.rst [JIT x RPC] Consolidate Future type class and Future impl class (#40406) 2020-06-24 01:44:49 -07:00
hub.rst
index.rst Doc note for complex (#41252) 2020-07-16 08:53:27 -07:00
jit.rst Doc warnings (#41068) 2020-07-07 11:43:21 -07:00
jit_builtin_functions.rst
jit_language_reference.rst
jit_python_reference.rst [JIT] Add support for with statements (#34705) 2020-06-18 16:57:18 -07:00
jit_unsupported.rst
math-quantizer-equation.png
mobile_optimizer.rst Add optimizer_for_mobile doc into python api root doc (#41211) 2020-07-15 09:57:40 -07:00
model_zoo.rst
multiprocessing.rst
name_inference.rst
named_tensor.rst Update docs feature classifications (#39966) 2020-06-24 15:35:59 -07:00
nn.functional.rst Added SiLU activation function (#41034) 2020-07-10 07:37:30 -07:00
nn.init.rst
nn.rst Added SiLU activation function (#41034) 2020-07-10 07:37:30 -07:00
onnx.rst [ONNX] Update pytorch/onnx docs for new export API args (#39802) 2020-06-19 13:38:47 -07:00
optim.rst
quantization.rst Doc warnings (#41068) 2020-07-07 11:43:21 -07:00
random.rst
rpc.rst [RPC docs] Remove mention of TensorPipe's SHM and CMA backends as they're not built (#41200) 2020-07-09 15:33:07 -07:00
sparse.rst Update docs feature classifications (#39966) 2020-06-24 15:35:59 -07:00
storage.rst
tensor_attributes.rst Update docs feature classifications (#39966) 2020-06-24 15:35:59 -07:00
tensor_view.rst Revert D22552377: [pytorch][PR] Reland split unsafe version 2020-07-16 15:24:19 -07:00
tensorboard.rst
tensors.rst torch.isreal (#41298) 2020-07-17 22:07:24 -07:00
torch.rst torch.isreal (#41298) 2020-07-17 22:07:24 -07:00
type_info.rst Improve repr for torch.iinfo & torch.finfo (#40488) 2020-07-10 15:22:55 -07:00