Method
__init__
(self, task, rl_device, sync_frame_time=False, clip_observations=5.0, clip_actions=1.0)
Source from the content-addressed store, hash-verified
| 67 | # C++ CPU Class |
| 68 | class VecTaskCPU(VecTask): |
| 69 | def __init__(self, task, rl_device, sync_frame_time=False, clip_observations=5.0, clip_actions=1.0): |
| 70 | super().__init__(task, rl_device, clip_observations=clip_observations, clip_actions=clip_actions) |
| 71 | self.sync_frame_time = sync_frame_time |
| 72 | |
| 73 | def step(self, actions): |
| 74 | actions = actions.cpu().numpy() |
Callers
nothing calls this directly
Tested by
no test coverage detected