skcuda.misc.zeros_like

skcuda.misc.zeros_like(a)[source]

Return an array of zeros with the same shape and type as a given array.

Parameters:a (array_like) – The shape and data type of a determine the corresponding attributes of the returned array.
Returns:out – Array of zeros with the shape, dtype, and strides of a.
Return type:pycuda.gpuarray.GPUArray