vwxyzjn / cleanrl

High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO, DQN, C51, DDPG, TD3, SAC, PPG)
http://docs.cleanrl.dev
Other
5.02k stars 575 forks source link

chore: simplify syntax #334

Closed vwxyzjn closed 1 year ago

vwxyzjn commented 1 year ago

Description

This PR does a simple refactoring on the dataclass syntax in ppo_atari_envpool_xla_jax_scan.py.

Types of changes

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cleanrl ✅ Ready (Inspect) Visit Preview Dec 28, 2022 at 2:16AM (UTC)