Skip to content

Commit

Permalink
🎨 Update typing in _RegDeepEnsembles
Browse files Browse the repository at this point in the history
  • Loading branch information
alafage authored Nov 28, 2024
1 parent 11afd5b commit 9d4ec19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_uncertainty/models/wrappers/deep_ensembles.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
super().__init__(models)
self.probabilistic = probabilistic

def forward(self, x: torch.Tensor) -> Distribution:
def forward(self, x: torch.Tensor) -> torch.Tensor | dict[str, torch.Tensor]:
r"""Return the logits of the ensemble.
Args:
Expand Down

0 comments on commit 9d4ec19

Please sign in to comment.