pub struct PPOStepConfig {
pub clip_eps: f32,
pub vf_coef: f32,
pub ent_coef: f32,
pub max_grad_norm: f32,
pub clip_vloss: bool,
}Expand description
PPO step configuration.
Fields§
§clip_eps: f32§vf_coef: f32§ent_coef: f32§max_grad_norm: f32§clip_vloss: boolTrait Implementations§
Source§impl Clone for PPOStepConfig
impl Clone for PPOStepConfig
Source§fn clone(&self) -> PPOStepConfig
fn clone(&self) -> PPOStepConfig
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 PPOStepConfig
impl Debug for PPOStepConfig
Auto Trait Implementations§
impl Freeze for PPOStepConfig
impl RefUnwindSafe for PPOStepConfig
impl Send for PPOStepConfig
impl Sync for PPOStepConfig
impl Unpin for PPOStepConfig
impl UnwindSafe for PPOStepConfig
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