FullLikeΒΆ

Returns a tensor with the same size as input filled with fill_value.

Abstract Signature:

FullLike(input: Tensor, fill_value: float)

PyTorch

API: torch.full_like
Strategy: Direct Mapping

JAX (Core)

API: jnp.full_like
Strategy: Direct Mapping

NumPy

API: np.full_like
Strategy: Direct Mapping

Keras

API: keras.ops.full_like
Strategy: Direct Mapping

TensorFlow

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

Apple MLX

API: mlx.core.full_like
Strategy: Macro 'mlx.core.full({input}.shape, {fill_value}, dtype={input}.dtype)'

Flax NNX

API: jnp.full_like
Strategy: Direct Mapping

PaxML / Praxis

API: jnp.full_like
Strategy: Direct Mapping