pub struct STDPConfig {
pub a_plus: f64,
pub a_minus: f64,
pub tau_plus: f64,
pub tau_minus: f64,
pub w_min: f64,
pub w_max: f64,
pub learning_rate: f64,
pub tau_eligibility: f64,
}Expand description
Configuration for STDP learning
Fields§
§a_plus: f64LTP amplitude (potentiation)
a_minus: f64LTD amplitude (depression)
tau_plus: f64LTP time constant (ms)
tau_minus: f64LTD time constant (ms)
w_min: f64Minimum weight
w_max: f64Maximum weight
learning_rate: f64Learning rate
tau_eligibility: f64Eligibility trace time constant
Trait Implementations§
Source§impl Clone for STDPConfig
impl Clone for STDPConfig
Source§fn clone(&self) -> STDPConfig
fn clone(&self) -> STDPConfig
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 STDPConfig
impl Debug for STDPConfig
Auto Trait Implementations§
impl Freeze for STDPConfig
impl RefUnwindSafe for STDPConfig
impl Send for STDPConfig
impl Sync for STDPConfig
impl Unpin for STDPConfig
impl UnwindSafe for STDPConfig
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more