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

Method proba_distribution

roach/models/distributions.py:220–222  ·  view source on GitHub ↗
(self, alpha, beta)

Source from the content-addressed store, hash-verified

218 return alpha, beta
219
220 def proba_distribution(self, alpha, beta):
221 self.distribution = Beta(alpha, beta)
222 return self
223
224 def log_prob(self, actions: th.Tensor) -> th.Tensor:
225 log_prob = self.distribution.log_prob(actions)

Callers 2

trainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected