mlx_rs::ops

Function zeros_dtype

Source
pub fn zeros_dtype(shape: &[i32], dtype: Dtype) -> Result<Array>
Expand description

Similar to Array::zeros but with a specified dtype.