pub trait Dropout {
type Output;
// Required method
fn dropout(&self, p: f64) -> Self::Output;
}Expand description
Dropout randomly zeroizes elements with a given probability (p).
pub trait Dropout {
type Output;
// Required method
fn dropout(&self, p: f64) -> Self::Output;
}Dropout randomly zeroizes elements with a given probability (p).