cupy.zeros_like¶
-
cupy.zeros_like(a, dtype=None)[source]¶ Returns an array of zeros with same shape and dtype as a given array.
This function currently does not support
orderandsubokoptions.Parameters: - a (cupy.ndarray) – Base array.
- dtype – Data type specifier. The dtype of
ais used by default.
Returns: An array filled with zeros.
Return type: See also