random

Function random 

Source
pub fn random(
    sizes: &[usize],
    datum_type: DatumType,
    tv: Option<&TensorValues>,
) -> Tensor
Expand description

Generates a random tensor of a given size and type.