Function tract_libcli::tensor::random
source ยท pub fn random(
sizes: &[usize],
datum_type: DatumType,
tv: Option<&TensorValues>
) -> TensorExpand description
Generates a random tensor of a given size and type.
pub fn random(
sizes: &[usize],
datum_type: DatumType,
tv: Option<&TensorValues>
) -> TensorGenerates a random tensor of a given size and type.