pub struct Softmax;
Trait Implementations
sourceimpl CanUpdateWithGradients for Softmax
impl CanUpdateWithGradients for Softmax
sourcefn update<G: GradientProvider>(&mut self, _: &mut G, _: &mut UnusedTensors)
fn update<G: GradientProvider>(&mut self, _: &mut G, _: &mut UnusedTensors)
Does nothing.
sourceimpl LoadFromNpz for Softmax
impl LoadFromNpz for Softmax
sourceimpl<T: Reduce1<-1>> Module<T> for Softmax
impl<T: Reduce1<-1>> Module<T> for Softmax
type Output = T
type Output = T
The type that this unit produces given Input
.
sourcefn forward(&self, input: T) -> Self::Output
fn forward(&self, input: T) -> Self::Output
Pass an Input
through the unit and produce Self::Output.
Can be implemented for multiple Input
types. Read more
sourcefn forward_mut(&mut self, input: Input) -> Self::Output
fn forward_mut(&mut self, input: Input) -> Self::Output
Pass an Input
through the unit and produce Self::Output.
Can be implemented for multiple Input
types. Read more
sourceimpl ResetParams for Softmax
impl ResetParams for Softmax
sourcefn reset_params<R: Rng>(&mut self, _: &mut R)
fn reset_params<R: Rng>(&mut self, _: &mut R)
Does nothing.
sourceimpl SaveToNpz for Softmax
impl SaveToNpz for Softmax
impl Copy for Softmax
Auto Trait Implementations
impl RefUnwindSafe for Softmax
impl Send for Softmax
impl Sync for Softmax
impl Unpin for Softmax
impl UnwindSafe for Softmax
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more