Python wrappers
Public Python APIs implemented by this engine symbol.Extract the imaginary part of a complex tensor as a real tensor.
The result dtype is the corresponding real dtype (C64 → F32); the
shape and device are unchanged.
Math
See Also
real_op, complex_op, conj_op
Parameters
aTensorImplPtrComplex-dtype input tensor (currently
C64).Returns
TensorImplPtrReal-dtype output (F32) of the same shape and device as a.
Raises
DtypeMismatchIf
a is not a complex dtype.