rlmesh::SessionRunOptions
The keywords of Session.run.
struct SessionRunOptions<'h>Fields
- episodesThe exact number of episodes (see
RunOptions::episodes). - seedsOne reset seed per episode.
- max_episode_stepsTruncate an episode after this many steps (at least 1).
- max_episodeTruncate an episode after this wall time (must be positive).
- hooksObserver callbacks, borrowed for the call.
- trial_index_baseThe first trial ordinal.
- cancelCancels this call, beside the session's own token.
episodes
field[source]episodes: Option<u64>The exact number of episodes (see RunOptions::episodes).
seeds
field[source]seeds: Option<Vec<i64>>One reset seed per episode.
max_episode_steps
field[source]max_episode_steps: Option<u64>Truncate an episode after this many steps (at least 1).
max_episode
field[source]max_episode: Option<std::time::Duration>Truncate an episode after this wall time (must be positive).
hooks
field[source]hooks: Option<&'h mut dyn RunHooks>Observer callbacks, borrowed for the call.
trial_index_base
field[source]trial_index_base: u64The first trial ordinal.
cancel
field[source]cancel: Option<CancelToken>Cancels this call, beside the session’s own token.
Trait implementations
- impl<'h> Default for SessionRunOptions<'h>
- impl Debug for SessionRunOptions<'_>