-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some small fixes to
TapActionWrapper
.
* Remove public alias for `action_type.ActionType`. * Modules should not re-export names as part of their API. * Remove one external usage of `TapActionWrapper._env_steps`. * This is a private attribute and should not be accessed from the outside. * Add test for `TapActionWrapper.stats()`. * This ensures that the nested environment's `stats()` is not modified by `TapActionWrapper`. * It checks that `"env_steps"` is present and contains the required info. PiperOrigin-RevId: 616917417
- Loading branch information
1 parent
18289e5
commit 0ad20a3
Showing
2 changed files
with
58 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters