rlmesh::ModelOptions
Class in rlmesh.hpp.
struct ModelOptionsFields
Methods
- with_on_close()
ModelOptions& with_on_close(std::function<void()> value) & - with_on_close()
ModelOptions with_on_close(std::function<void()> value) && - with_spec()
ModelOptions& with_spec(std::optional<SpecArg> value) & - with_spec()
ModelOptions with_spec(std::optional<SpecArg> value) && - with_on_episode_end()
ModelOptions& with_on_episode_end(EpisodeEndHook value) & - with_on_episode_end()
ModelOptions with_on_episode_end(EpisodeEndHook value) && - with_trust_entrypoints()
ModelOptions& with_trust_entrypoints(bool value) & - with_trust_entrypoints()
ModelOptions with_trust_entrypoints(bool value) &&
spec
field[source]std::optional<SpecArg> spec{}on_episode_end
field[source]EpisodeEndHook on_episode_end{}on_close
field[source]std::function<void()> on_close{}trust_entrypoints
field[source]bool trust_entrypoints = falsewith_on_close
method[source]ModelOptions& with_on_close(std::function<void()> value) &with_on_close
method[source]ModelOptions with_on_close(std::function<void()> value) &&with_spec
method[source]ModelOptions& with_spec(std::optional<SpecArg> value) &with_spec
method[source]ModelOptions with_spec(std::optional<SpecArg> value) &&with_on_episode_end
method[source]ModelOptions& with_on_episode_end(EpisodeEndHook value) &with_on_episode_end
method[source]ModelOptions with_on_episode_end(EpisodeEndHook value) &&with_trust_entrypoints
method[source]ModelOptions& with_trust_entrypoints(bool value) &with_trust_entrypoints
method[source]ModelOptions with_trust_entrypoints(bool value) &&