Module Fehu
Reinforcement learning environments and utilities.
Environments are host data: observations, actions, rewards and stored transitions are host values (Nx.host), and samples draw from Nx.Rng's scope (Nx.Rng.with_key). A policy on another device set places what it reads (Nx.place).
Core
ValueUniversal value type.InfoStep metadata dictionaries.SpaceObservation and action spaces.EnvReinforcement learning environments.
Collection and training
CollectTrajectory collection from environments.BufferReplay buffer for off-policy experience storage.GaeGeneralized Advantage Estimation.EvalPolicy evaluation.