RandLike ======== Returns a tensor with the same size as input that is filled with random numbers from a uniform distribution. **Abstract Signature:** ``RandLike(input: Tensor, dtype = None)`` .. raw:: html

PyTorch

API: torch.rand_like
Strategy: Direct Mapping

JAX (Core)

API: jax.random.uniform
Strategy: Plugin (inject_prng)

NumPy

API: np.random.random_sample
Strategy: Macro 'np.random.random_sample({input}.shape)'

Keras

API: keras.random.uniform
Strategy: Macro 'keras.random.uniform({input}.shape, dtype={dtype})'

TensorFlow

API: tf.random.uniform
Strategy: Macro 'tf.random.uniform({input}.shape, dtype={dtype})'

Apple MLX

API: mlx.core.random.uniform
Strategy: Macro 'mlx.core.random.uniform({input}.shape, dtype={dtype})'

Flax NNX

API: jax.random.uniform
Strategy: Plugin (inject_prng)