EqualAggregateΒΆ

True if two tensors have the same size and elements, False otherwise.

Abstract Signature:

EqualAggregate(input: Tensor, other: Tensor)

PyTorch

API: torch.equal
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.array_equal
Strategy: Direct Mapping

NumPy

API: numpy.array_equal
Strategy: Direct Mapping

Keras

API: β€”
Strategy: Macro 'keras.ops.all(keras.ops.equal({input}, {other}))'

TensorFlow

API: tf.experimental.numpy.array_equal
Strategy: Direct Mapping

Apple MLX

API: mlx.core.array_equal
Strategy: Direct Mapping

Flax NNX

API: jax.numpy.array_equal
Strategy: Direct Mapping