pub struct MAPPOParams {
pub discrete: bool,
pub gamma: f32,
pub lam: f32,
pub clip_ratio: f32,
pub pi_lr: f32,
pub vf_lr: f32,
pub train_pi_iters: u64,
pub train_vf_iters: u64,
pub target_kl: f32,
pub traj_per_epoch: u64,
}Fields§
§discrete: bool§gamma: f32§lam: f32§clip_ratio: f32§pi_lr: f32§vf_lr: f32§train_pi_iters: u64§train_vf_iters: u64§target_kl: f32§traj_per_epoch: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for MAPPOParams
impl RefUnwindSafe for MAPPOParams
impl Send for MAPPOParams
impl Sync for MAPPOParams
impl Unpin for MAPPOParams
impl UnsafeUnpin for MAPPOParams
impl UnwindSafe for MAPPOParams
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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