count_parameters

Function count_parameters 

Source
pub fn count_parameters(tensor: &Tensor) -> usize
Expand description

Calculate the number of parameters in a tensor