ones

Function ones 

Source
pub fn ones<Args, Inp>(param: Args) -> <Args as OnesAPI<Inp>>::Out
where Args: OnesAPI<Inp>,
Expand description

New tensor filled with ones and having a specified shape.

ยงSee also