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