pub struct ProjectedGradientConfig {
pub learning_rate: f64,
pub max_iterations: usize,
pub tolerance: f64,
}Expand description
Configuration for projected gradient descent with box constraints.
Fields§
§learning_rate: f64Base learning rate.
max_iterations: usizeMaximum optimization iterations.
tolerance: f64Gradient norm tolerance for convergence.
Trait Implementations§
Source§impl Clone for ProjectedGradientConfig
impl Clone for ProjectedGradientConfig
Source§fn clone(&self) -> ProjectedGradientConfig
fn clone(&self) -> ProjectedGradientConfig
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 ProjectedGradientConfig
impl Debug for ProjectedGradientConfig
Source§impl Default for ProjectedGradientConfig
impl Default for ProjectedGradientConfig
impl Copy for ProjectedGradientConfig
Auto Trait Implementations§
impl Freeze for ProjectedGradientConfig
impl RefUnwindSafe for ProjectedGradientConfig
impl Send for ProjectedGradientConfig
impl Sync for ProjectedGradientConfig
impl Unpin for ProjectedGradientConfig
impl UnsafeUnpin for ProjectedGradientConfig
impl UnwindSafe for ProjectedGradientConfig
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