backup wip

This commit is contained in:
Alexander Soare
2024-03-19 16:02:09 +00:00
parent 88347965c2
commit ea17f4ce50
11 changed files with 71 additions and 46 deletions

View File

@@ -30,7 +30,7 @@ class AbstractPolicy(nn.Module, ABC):
Should return a (batch_size, n_action_steps, *) tensor of actions.
"""
def forward(self, *args, **kwargs):
def forward(self, *args, **kwargs) -> Tensor:
"""Inference step that makes multi-step policies compatible with their single-step environments.
WARNING: In general, this should not be overriden.