Struct relearn::utils::distributions::Bernoulli [−][src]
pub struct Bernoulli(_);
Expand description
Bernoulli distribution that can sample floats
Implementations
Trait Implementations
Generate a random value of T
, using rng
as the source of randomness.
Create an iterator that generates random values of T
, using rng
as
the source of randomness. Read more
Auto Trait Implementations
impl RefUnwindSafe for Bernoulli
impl UnwindSafe for Bernoulli
Blanket Implementations
Mutably borrows from an owned value. Read more