Trait burn_core::tensor::ElementRandom
source · pub trait ElementRandom {
// Required method
fn random<R>(distribution: Distribution, rng: &mut R) -> Self
where R: RngCore,
Self: Sized;
}Expand description
Element trait for random value of a tensor.