MCPcopy Create free account
hub / github.com/InternRobotics/UniHSI / VecTaskCPUWrapper

Class VecTaskCPUWrapper

unihsi/env/tasks/vec_task_wrappers.py:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32from env.tasks.vec_task import VecTaskCPU, VecTaskGPU, VecTaskPython
33
34class VecTaskCPUWrapper(VecTaskCPU):
35 def __init__(self, task, rl_device, sync_frame_time=False, clip_observations=5.0, clip_actions=1.0):
36 super().__init__(task, rl_device, sync_frame_time, clip_observations, clip_actions)
37 return
38
39class VecTaskGPUWrapper(VecTaskGPU):
40 def __init__(self, task, rl_device, clip_observations=5.0, clip_actions=1.0):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected