We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f280ddd commit 9dfa483Copy full SHA for 9dfa483
monai/metrics/utils.py
@@ -70,7 +70,7 @@ def ignore_background(
70
y: ground truth, the first dim is batch. (Optional)
71
72
Returns:
73
- NdarrayTensor | tuple[NdarrayTensor, NdarrayTensor]:
+ NdarrayTensor | tuple[NdarrayTensor, NdarrayTensor]:
74
- If `y` is None: returns background-removed `y_pred` only.
75
- If `y` is provided: returns a tuple of (background-removed `y_pred`, background-removed `y`).
76
"""
0 commit comments