mirror of
https://github.com/wassname/dreamerv3-torch.git
synced 2026-06-27 17:30:36 +08:00
modified a variable name
This commit is contained in:
@@ -328,9 +328,8 @@ class TwoHotDistSymlog:
|
||||
self.width = (self.buckets[-1] - self.buckets[0]) / 255
|
||||
|
||||
def mean(self):
|
||||
print("mean called")
|
||||
_mode = self.probs * self.buckets
|
||||
return symexp(torch.sum(_mode, dim=-1, keepdim=True))
|
||||
_mean = self.probs * self.buckets
|
||||
return symexp(torch.sum(_mean, dim=-1, keepdim=True))
|
||||
|
||||
def mode(self):
|
||||
_mode = self.probs * self.buckets
|
||||
|
||||
Reference in New Issue
Block a user