Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/TCP
/ mode
Method
mode
roach/models/distributions.py:165–166 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
163
return
th.tanh(self.distribution.rsample())
164
165
def
mode(self) -> th.Tensor:
166
return
th.tanh(self.distribution.mean)
167
168
def
get_actions(self, deterministic: bool = False) -> th.Tensor:
169
if
deterministic:
Callers
1
get_actions
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected