Skip to main content

ones

Function ones 

Source
pub fn ones(shape: &[usize], dtype: DType) -> Result<Array>
Expand description

An array of ones.