MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / _substep

Method _substep

dm_control/composer/environment.py:461–465  ·  view source on GitHub ↗
(self, action)

Source from the content-addressed store, hash-verified

459 return dm_env.TimeStep(dm_env.StepType.LAST, reward, discount, obs)
460
461 def _substep(self, action):
462 self._hooks.before_substep(
463 self._physics_proxy, action, self._random_state)
464 self._physics.step()
465 self._hooks.after_substep(self._physics_proxy, self._random_state)
466
467 def close(self):
468 super().close()

Callers 1

stepMethod · 0.95

Calls 3

before_substepMethod · 0.45
stepMethod · 0.45
after_substepMethod · 0.45

Tested by

no test coverage detected