pub struct OjaConfig {
pub learning_rate: f64,
}Expand description
Oja’s rule configuration.
Fields§
§learning_rate: f64Learning rate (default: 0.01).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OjaConfig
impl RefUnwindSafe for OjaConfig
impl Send for OjaConfig
impl Sync for OjaConfig
impl Unpin for OjaConfig
impl UnsafeUnpin for OjaConfig
impl UnwindSafe for OjaConfig
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