pub trait Activate<Rhs = Self> {
type Output;
// Required method
fn activate(&self, rhs: Rhs) -> Self::Output;
}Expand description
The Activate trait enables the definition of new activation functions often implemented as fieldless structs.