Struct border_core::TrainerConfig
source · [−]pub struct TrainerConfig { /* private fields */ }
Expand description
Configuration of Trainer.
Implementations
Sets the interval of evaluation in optimization steps.
Sets the number of episodes for evaluation.
Sets the evaluation threshold.
Sets the directory the trained model being saved.
Sets the interval of optimization in environment steps.
Sets the interval of recording in optimization steps.
Sets the interval of saving in optimization steps.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TrainerConfig
impl Send for TrainerConfig
impl Sync for TrainerConfig
impl Unpin for TrainerConfig
impl UnwindSafe for TrainerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more