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