mlx.core.ones_like# ones_like(a: array, /, *, stream: None | Stream | Device = None) → array# An array of ones like the input. 參數: a (array) -- The input to take the shape and type from. 回傳: The output array filled with ones. 回傳型別: array