mlx.core.zeros_like

目錄

mlx.core.zeros_like#

zeros_like(a: array, /, *, stream: None | Stream | Device = None) array#

An array of zeros like the input.

參數:

a (array) -- The input to take the shape and type from.

回傳:

The output array filled with zeros.

回傳型別:

array