+
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions torchrl/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,11 @@ def __init__(
self.batch_size = torch.Size(batch_size)
self._run_type_checks = run_type_checks
self._allow_done_after_reset = allow_done_after_reset
@wraps(check_env_specs_func)
def check_env_specs(self, *args, **kwargs):
return check_env_specs_func(self, *args, **kwargs)

check_env_specs.__doc__ = check_env_specs_func.__doc__

@classmethod
def __new__(cls, *args, _inplace_update=False, _batch_locked=True, **kwargs):
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载