Struct border_core::replay_buffer::IwScheduler
source · pub struct IwScheduler {
pub beta_0: f32,
pub beta_final: f32,
pub n_opts_final: usize,
pub n_opts: usize,
}Expand description
Scheduler of the exponent of importance weight for PER.
Fields§
§beta_0: f32Initial value of $\beta$.
beta_final: f32Final value of $\beta$.
n_opts_final: usizeOptimization steps when beta reaches its final value.
n_opts: usizeCurrent optimizatioin steps.
Implementations§
Trait Implementations§
source§impl Clone for IwScheduler
impl Clone for IwScheduler
source§fn clone(&self) -> IwScheduler
fn clone(&self) -> IwScheduler
Returns a copy 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 IwScheduler
impl Debug for IwScheduler
source§impl<'de> Deserialize<'de> for IwScheduler
impl<'de> Deserialize<'de> for IwScheduler
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<IwScheduler> for IwScheduler
impl PartialEq<IwScheduler> for IwScheduler
source§fn eq(&self, other: &IwScheduler) -> bool
fn eq(&self, other: &IwScheduler) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for IwScheduler
impl Serialize for IwScheduler
impl StructuralPartialEq for IwScheduler
Auto Trait Implementations§
impl RefUnwindSafe for IwScheduler
impl Send for IwScheduler
impl Sync for IwScheduler
impl Unpin for IwScheduler
impl UnwindSafe for IwScheduler
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