pub struct STDPConfig {
pub a_plus: f64,
pub a_minus: f64,
pub tau_plus: f64,
pub tau_minus: f64,
pub w_max: f64,
pub w_min: f64,
pub spike_threshold: f64,
pub tau_membrane: f64,
pub v_reset: f64,
}Expand description
STDP learning configuration
Fields§
§a_plus: f64Potentiation amplitude (A+)
a_minus: f64Depression amplitude (A-)
tau_plus: f64Potentiation time constant (τ+)
tau_minus: f64Depression time constant (τ-)
w_max: f64Maximum allowed weight
w_min: f64Minimum allowed weight
spike_threshold: f64Spike threshold for membrane potential
tau_membrane: f64Membrane time constant
v_reset: f64Resting potential reset value
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 (const: unstable) · 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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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