Expand description
rlox-candle: Candle backend for pure-Rust neural network inference and training.
Implements rlox_nn::ActorCritic and other NN traits using
Candle (HuggingFace’s Rust ML framework).
Key components:
actor_critic::CandleActorCritic: Discrete actor-critic with PPO step.collector:SharedPolicy+make_candle_callbacks()for hybrid Rust collection (180K+ SPS on CartPole, zero Python overhead).dqn,stochastic,deterministic: SAC/TD3/DQN network implementations.mlp: Configurable MLP builder with Tanh/ReLU activation.
Modules§
- actor_
critic - collector
- Candle-powered rollout collector.
- continuous_
q - convert
- deterministic
- dqn
- entropy
- mlp
- stochastic