Skip to content

Commit 9dfa483

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f280ddd commit 9dfa483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/metrics/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def ignore_background(
7070
y: ground truth, the first dim is batch. (Optional)
7171
7272
Returns:
73-
NdarrayTensor | tuple[NdarrayTensor, NdarrayTensor]:
73+
NdarrayTensor | tuple[NdarrayTensor, NdarrayTensor]:
7474
- If `y` is None: returns background-removed `y_pred` only.
7575
- If `y` is provided: returns a tuple of (background-removed `y_pred`, background-removed `y`).
7676
"""

0 commit comments

Comments
 (0)