pub struct RlStepMeta {
pub matches: usize,
pub train_turns: usize,
pub eval_turns: usize,
}Expand description
How much environment this step played — the RL counterpart of tabular’s eval-loss column. match = one episode, turn = one env step.
Fields§
§matches: usizeMatches (episodes) this net’s trainer played this step (train + eval).
train_turns: usizeTurns played in this step’s TRAIN matches.
eval_turns: usizeTurns played in this step’s EVAL matches — evaluation must keep measuring the net’s own policy.
Implementations§
Trait Implementations§
Source§impl Clone for RlStepMeta
impl Clone for RlStepMeta
impl Copy for RlStepMeta
Source§impl Debug for RlStepMeta
impl Debug for RlStepMeta
Source§impl Default for RlStepMeta
impl Default for RlStepMeta
Source§impl<'de> Deserialize<'de> for RlStepMeta
impl<'de> Deserialize<'de> for RlStepMeta
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
impl Eq for RlStepMeta
Source§impl PartialEq for RlStepMeta
impl PartialEq for RlStepMeta
Source§impl Serialize for RlStepMeta
impl Serialize for RlStepMeta
impl StructuralPartialEq for RlStepMeta
Auto Trait Implementations§
impl Forget for RlStepMeta
impl Freeze for RlStepMeta
impl Move for RlStepMeta
impl RefUnwindSafe for RlStepMeta
impl Send for RlStepMeta
impl Sync for RlStepMeta
impl Unpin for RlStepMeta
impl UnsafeUnpin for RlStepMeta
impl UnwindSafe for RlStepMeta
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.