pub trait Sigmoid { type Output; // Required methods fn sigmoid(&self) -> Self::Output; fn sigmoid_derivative(&self) -> Self::Output; }