AdjointΒΆ

Returns a view of the tensor conjugated and with the last two dimensions transposed.

Abstract Signature:

Adjoint(input: Tensor)

PyTorch

API: torch.adjoint
Strategy: Direct Mapping

JAX (Core)

API: β€”
Strategy: Macro 'jnp.conjugate(jnp.swapaxes({input}, -1, -2))'

NumPy

API: β€”
Strategy: Macro 'np.conjugate(np.swapaxes({input}, -1, -2))'

Keras

API: β€”
Strategy: Macro 'keras.ops.conj(keras.ops.swapaxes({input}, -1, -2))'

TensorFlow

API: β€”
Strategy: Macro 'tf.math.conj(tf.linalg.adjoint({input}))'

Apple MLX

API: β€”
Strategy: Macro 'mx.conjugate(mx.swapaxes({input}, -1, -2))'

Flax NNX

API: β€”
Strategy: Macro 'jnp.conjugate(jnp.swapaxes({input}, -1, -2))'

PaxML / Praxis

API: β€”
Strategy: Macro 'jnp.conjugate(jnp.swapaxes({input}, -1, -2))'