pub fn normal<B>(
shape: impl Into<Shape>,
mean: f64,
std: f64,
dtype: DType,
device: &<B as Backend>::Device,
) -> Result<Tensor<B>, Error>where
B: Backend,Expand description
Initialize a tensor from a normal distribution N(mean, std).