Skip to main content

ones

Function ones 

Source
pub fn ones(shape: impl IntoShape, dtype: DType) -> Array
Expand description

An array of ones of shape.