pub struct HyperbolicTangent;Trait Implementations§
Source§impl<T> Activator<T> for HyperbolicTangentwhere
T: TanhActivation,
impl<T> Activator<T> for HyperbolicTangentwhere
T: TanhActivation,
Source§impl<T> ActivatorGradient<T> for HyperbolicTangentwhere
T: TanhActivation,
impl<T> ActivatorGradient<T> for HyperbolicTangentwhere
T: TanhActivation,
type Rel = HyperbolicTangent
type Delta = <T as TanhActivation>::Output
Source§fn activate_gradient(&self, inputs: T) -> Self::Delta
fn activate_gradient(&self, inputs: T) -> Self::Delta
compute the gradient of some input
Source§impl Clone for HyperbolicTangent
impl Clone for HyperbolicTangent
Source§fn clone(&self) -> HyperbolicTangent
fn clone(&self) -> HyperbolicTangent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HyperbolicTangent
impl Debug for HyperbolicTangent
Source§impl Default for HyperbolicTangent
impl Default for HyperbolicTangent
Source§fn default() -> HyperbolicTangent
fn default() -> HyperbolicTangent
Returns the “default value” for a type. Read more
Source§impl Hash for HyperbolicTangent
impl Hash for HyperbolicTangent
Source§impl Ord for HyperbolicTangent
impl Ord for HyperbolicTangent
Source§fn cmp(&self, other: &HyperbolicTangent) -> Ordering
fn cmp(&self, other: &HyperbolicTangent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HyperbolicTangent
impl PartialEq for HyperbolicTangent
Source§impl PartialOrd for HyperbolicTangent
impl PartialOrd for HyperbolicTangent
impl Copy for HyperbolicTangent
impl Eq for HyperbolicTangent
impl StructuralPartialEq for HyperbolicTangent
Auto Trait Implementations§
impl Freeze for HyperbolicTangent
impl RefUnwindSafe for HyperbolicTangent
impl Send for HyperbolicTangent
impl Sync for HyperbolicTangent
impl Unpin for HyperbolicTangent
impl UnwindSafe for HyperbolicTangent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.