Function ones_dtype

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

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