normal

Function normal 

Source
pub fn normal<T>(shape: &[usize], mean: T, std: T) -> Tensor<T>
Expand description

Creates a tensor with normally distributed random values.

ยงArguments

  • shape - Shape of the tensor
  • mean - Mean of the distribution
  • std - Standard deviation of the distribution