full_likeΒΆ

Returns a new array filled with fill_value and having the same shape as an input array x.

Abstract Signature:

full_like(x: array, fill_value: Union[bool, int, float, complex], dtype: Optional[dtype], device: Optional[device])

JAX (Core)

API: optax.tree.full_like
Strategy: Direct Mapping

NumPy

API: numpy.full_like
Strategy: Direct Mapping

Keras

API: keras.ops.numpy.full_like
Strategy: Direct Mapping

Flax NNX

API: optax.tree.full_like
Strategy: Direct Mapping