pub struct BcmConfig {
pub learning_rate: f64,
pub threshold_rate: f64,
}Expand description
BCM configuration.
Fields§
§learning_rate: f64Learning rate (default: 0.01).
threshold_rate: f64Threshold sliding rate (default: 0.001).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BcmConfig
impl RefUnwindSafe for BcmConfig
impl Send for BcmConfig
impl Sync for BcmConfig
impl Unpin for BcmConfig
impl UnsafeUnpin for BcmConfig
impl UnwindSafe for BcmConfig
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