rlmesh::ModelOptions
Options for Model::new.
struct ModelOptionsFields
spec
field[source]spec: Option<SpecArg>Replaces Policy::spec; None keeps the policy’s.
on_episode_end
field[source]on_episode_end: Option<Box<dyn FnMut(&str) -> Result<()> + Send>>Replaces Policy::on_episode_end.
on_close
field[source]on_close: Option<Box<dyn FnOnce() -> Result<()> + Send>>Replaces Policy::close.
trust_entrypoints
field[source]trust_entrypoints: boolAllow module:callable custom-input entrypoints in the spec.
Trait implementations
- impl Default for ModelOptions
- impl Debug for ModelOptions