Shortcuts

torch.imag

torch.imag(input, out=None) → Tensor

Returns the imaginary part of the input tensor.

Warning

Not yet implemented.

outi=imag(inputi)\text{out}_{i} = imag(\text{input}_{i})
Parameters
  • input (Tensor) – the input tensor.

  • out (Tensor, optional) – the output tensor.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources