Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/TCP
/ get_actions
Method
get_actions
roach/models/distributions.py:275–278 ·
view source on GitHub ↗
(self, deterministic: bool = False)
Source
from the content-addressed store, hash-verified
273
return
x
274
275
def
get_actions(self, deterministic: bool = False) -> th.Tensor:
276
if
deterministic:
277
return
self.mode()
278
return
self.sample()
Callers
1
forward
Method · 0.45
Calls
2
mode
Method · 0.95
sample
Method · 0.95
Tested by
no test coverage detected