Removed old TODOs

This commit is contained in:
2022-08-28 12:07:19 +02:00
parent eb881559d6
commit 4080ad8135
3 changed files with 7 additions and 9 deletions
@@ -200,7 +200,6 @@ class UniversalGaussianDistribution(SB3_Distribution):
assert std_init >= 0.0, "std can not be initialized to a negative value."
# TODO: Implement SDE
self.latent_sde_dim = latent_sde_dim
mean_actions = nn.Linear(latent_dim, self.action_dim)
@@ -348,7 +347,6 @@ class UniversalGaussianDistribution(SB3_Distribution):
def get_noise(self, latent_sde: th.Tensor) -> th.Tensor:
latent_sde = latent_sde if self.learn_features else latent_sde.detach()
# # TODO: Good idea?
latent_sde = th.nn.functional.normalize(latent_sde, dim=-1)
# Default case: only one exploration matrix
if len(latent_sde) == 1 or len(latent_sde) != len(self.exploration_matrices):
@@ -579,7 +577,6 @@ class CholNet(nn.Module):
dim2=-1)).diag_embed() + chol.triu(1)
def string(self):
# TODO
return '<CholNet />'