oarust 0.20.1

GPU-first semantic computing runtime written in Rust
Documentation
//! Reinforcement-learning domain primitives.
//!
//! Environments, rollout and replay storage, advantage estimation, policy
//! evaluation, and collection sessions. The algorithm trainers in
//! [`crate::ml::training`] compose these primitives with the optimizer
//! lifecycle: `training/` owns drivers, `rl/` owns domain types.
//!
//! Naming note: [`rollout`] here is the device-resident `RolloutBuffer`
//! storage; the two-phase collect/update coordinator lives in
//! `crate::ml::training::rollout`.

pub mod advantage;
pub mod environment;
pub mod evaluation;
pub mod policy;
pub mod replay;
pub mod rollout;

mod actor_critic;
mod collector;

pub use actor_critic::{ActorCritic, ActorCriticOutput, CategoricalActorCritic};
pub use collector::{RolloutCollector, RolloutCollectorMetrics};
pub use environment::EnvironmentSpaceKind;