Skip to content

Commit 086446b

Browse files
committed
fix format issue
Signed-off-by: thibaultdvx <[email protected]>
1 parent ccca17d commit 086446b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

monai/utils/jupyter_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def plot_engine_status(
234234

235235

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

tests/metrics/test_compute_average_precision.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
TEST_CASE_12,
132132
]
133133

134+
134135
class TestComputeAveragePrecision(unittest.TestCase):
135136

136137
@parameterized.expand(ALL_TESTS)

0 commit comments

Comments
 (0)