(self, actions: th.Tensor)
| 222 | return self |
| 223 | |
| 224 | def log_prob(self, actions: th.Tensor) -> th.Tensor: |
| 225 | log_prob = self.distribution.log_prob(actions) |
| 226 | return sum_independent_dims(log_prob) |
| 227 | |
| 228 | def entropy_loss(self) -> th.Tensor: |
| 229 | entropy_loss = -1.0 * self.distribution.entropy() |
no test coverage detected