API reference¶
Every public function and class in minimal_mjx, generated from the docstrings in
src/. Each page covers one subpackage, split by the module the code lives in. Use the
search bar at the top to jump to any name.
| Subpackage | Modules | What it covers |
|---|---|---|
minimal_mjx.envs |
generic.base |
SwappableBase, the base class for environments |
minimal_mjx.learning |
training, inference |
Training with Brax PPO, run directories, resuming; loading checkpoints and policies |
minimal_mjx.eval |
rollout, policy |
Rolling out a policy and recording it; dummy and open-loop policies |
minimal_mjx.utils |
config, logging, plotting, state, setupGPU, delete_failed_runs |
Configs, Weights & Biases, plots and videos, the NumPy state, GPU setup |
Top-level shortcuts¶
The most used names are also importable from the package itself, so these are the same function:
| Shortcut | Defined in |
|---|---|
mm.Config |
utils.config |
mm.SwappableBase |
envs.generic.base |
mm.EnvState |
utils.state |
mm.train, mm.setup_ppo, mm.create_training_directory, mm.Resume, mm.find_resume, ... |
learning.training |
mm.load_policy, mm.get_last_model, mm.get_params, mm.get_step_reset, ... |
learning.inference |
mm.rollout_policy, mm.make_dummy_inference_fn |
eval.rollout |
mm.make_zero_policy, mm.make_open_loop_policy, ... |
eval.policy |
mm.initialize_wandb, mm.save_model, mm.download_model, ... |
utils.logging |
mm.save_video, mm.save_metrics, mm.Progress, ... |
utils.plotting |