pub fn ones_dtype(shape: &[i32], dtype: Dtype) -> Result<Array>
Similar to Array::ones but with a specified dtype.
Array::ones