pub struct VtraceConfig {
pub gamma: f32,
pub c_bar: f32,
pub rho_bar: f32,
}Expand description
V-trace configuration.
Fields§
§gamma: f32Discount factor γ.
c_bar: f32Clipping threshold c̄ for importance weights in the v-trace target.
rho_bar: f32Clipping threshold ρ̄ for IS weights in TD errors.
Trait Implementations§
Source§impl Clone for VtraceConfig
impl Clone for VtraceConfig
Source§fn clone(&self) -> VtraceConfig
fn clone(&self) -> VtraceConfig
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 VtraceConfig
impl Debug for VtraceConfig
Source§impl Default for VtraceConfig
impl Default for VtraceConfig
impl Copy for VtraceConfig
Auto Trait Implementations§
impl Freeze for VtraceConfig
impl RefUnwindSafe for VtraceConfig
impl Send for VtraceConfig
impl Sync for VtraceConfig
impl Unpin for VtraceConfig
impl UnsafeUnpin for VtraceConfig
impl UnwindSafe for VtraceConfig
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