Back to Numerical Arrays (NumPy)
np.zeros_like
Create an array of zeros with the same shape and type as a given array.
Syntax
np.zeros_like(a)
Description
Create an array of zeros with the same shape and type as a given array.
Parameters
| Name | Description |
|---|---|
| a | - Reference array |
Returns
Promise<NDArray>