zeros_like

Function zeros_like 

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

New tensor filled with zeros and having the same shape as an input tensor.

ยงSee also