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