Expand description
Environments written in JAX, imported from the directories that
python -m ruxla.export writes.
A directory has manifest.json (the name, the action space, and the
number of leaves of an observation), reset.json, step.json, and
optionally legal_action_mask.json: the functions of EnvFunctions as
documents of ruxla.export_jaxpr, which ruxla_import reads.
load_functions reads them, and crate::compiled::generate_from_functions
compiles them ahead of time to Rust like the environments written with
ruxla.
Enums§
- Load
Error - Errors while loading an imported environment.
Constants§
- MANIFEST_
VERSION - The version of
manifest.jsonthat this crate reads.
Functions§
- load_
functions - Reads the functions of the imported environment in
dir.