Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend State bound with an Optional protocol that has a attribute. E… #29

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

joeryjoery
Copy link
Owner

Extend Environment with a options field in the reset method. This is useful for meta-learning and curriculum learning.

The State TypeVar is extended with an optional options attribute Protocol which is needed for the AutoReset Wrapper.

This resolves #17.

@joeryjoery
Copy link
Owner Author

Will merge PR once tests are added for reset that integrate the Jit, Vmap, and AutoReset wrappers.

@joeryjoery joeryjoery merged commit 380ebdf into main Nov 17, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] Extend core Environment reset method with options or params argument like Gymnasium.
1 participant