MCPcopy Create free account
hub / github.com/OpenDriveLab/TCP / mode

Method mode

roach/models/distributions.py:103–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 return self.distribution.rsample()
102
103 def mode(self) -> th.Tensor:
104 return self.distribution.mean
105
106 def get_actions(self, deterministic: bool = False) -> th.Tensor:
107 if deterministic:

Callers 1

get_actionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected