Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/TCP
/ sample
Method
sample
roach/models/distributions.py:100–101 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
98
return
th.mean(exploration_loss)
99
100
def
sample(self) -> th.Tensor:
101
return
self.distribution.rsample()
102
103
def
mode(self) -> th.Tensor:
104
return
self.distribution.mean
Callers
1
get_actions
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected