MCPcopy Create free account
hub / github.com/nv-tlabs/pacer / get_state

Method get_state

pacer/env/tasks/vec_task.py:122–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120class VecTaskPython(VecTask):
121
122 def get_state(self):
123 return torch.clamp(self.task.states_buf, -self.clip_obs, self.clip_obs).to(self.rl_device)
124
125 def step(self, actions):
126

Callers 6

get_expertFunction · 0.80
get_expert_masterFunction · 0.80
set_stateMethod · 0.80
__init__Method · 0.80
stepMethod · 0.80
resetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected