full_like(x, fill_value, dtype=None, shape=None)¶
Create a full array like np.full based on the example array x.
Any) – example array-like, used for shape and dtype information.
Any) – a scalar value to fill the entries of the output array.
- Return type
An ndarray with the same shape as x with its entries set equal to fill_value, similar to the output of np.full.