Imag
Returns a new tensor containing imaginary values of the self tensor.
Abstract Signature:
Imag(input: Tensor)
PyTorch
API: torch.imag
Strategy: Direct Mapping
JAX (Core)
API: jax.numpy.imag
Strategy: Direct Mapping
NumPy
API: numpy.imag
Strategy: Direct Mapping
Keras
API: keras.ops.imag
Strategy: Direct Mapping
TensorFlow
API: tf.math.imag
Strategy: Direct Mapping
Apple MLX
API: mlx.core.imag
Strategy: Direct Mapping
Flax NNX
API: jax.numpy.imag
Strategy: Direct Mapping
PaxML / Praxis
API: jax.numpy.imag
Strategy: Direct Mapping