AliasCopyΒΆ

Returns a copy of the input tensor.

Abstract Signature:

AliasCopy(input: Tensor)

PyTorch

API: torch.alias_copy
Strategy: Direct Mapping

JAX (Core)

API: jnp.array
Strategy: Macro 'jnp.array({input}, copy=True)'

NumPy

API: np.copy
Strategy: Direct Mapping

Keras

API: keras.ops.copy
Strategy: Direct Mapping

TensorFlow

API: tf.identity
Strategy: Direct Mapping

Apple MLX

API: β€”
Strategy: Macro 'mx.array({input})'

Flax NNX

API: β€”
Strategy: Macro 'jnp.array({input}, copy=True)'

PaxML / Praxis

API: β€”
Strategy: Macro 'jnp.array({input}, copy=True)'