Skip to main content

ones

Function ones 

Source
pub fn ones<B: Backend, T: Element>(shape: impl Into<Shape>) -> Array<B, T>
Expand description

An array of ones.