Skip to content

Commit

Permalink
formatting error in line 237. Solved by updating black from 24.10.0 t…
Browse files Browse the repository at this point in the history
…o black 25.1.0,

Signed-off-by: Cano-Muniz, Santiago <[email protected]>
  • Loading branch information
phisanti committed Mar 8, 2025
1 parent 3e013fe commit 06be2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/utils/jupyter_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def plot_engine_status(


def _get_loss_from_output(
output: list[torch.Tensor | dict[str, torch.Tensor]] | dict[str, torch.Tensor] | torch.Tensor
output: list[torch.Tensor | dict[str, torch.Tensor]] | dict[str, torch.Tensor] | torch.Tensor,
) -> torch.Tensor:
"""Returns a single value from the network output, which is a dict or tensor."""

Expand Down

0 comments on commit 06be2ef

Please sign in to comment.