Skip to content

Commit 754407b

Browse files
committed
Fix docstring indentation in create_ignore_mask
Signed-off-by: Rusheel Sharma <rusheelhere@gmail.com>
1 parent 610756d commit 754407b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

monai/metrics/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def create_ignore_mask(
7777
Create a spatial mask for ignore_index functionality.
7878
7979
Handles three cases:
80+
8081
1. ignore_index is None: returns None (no masking)
8182
2. Label-encoded input (y.shape[1] == 1): direct comparison
8283
3. One-hot encoded input (y.shape[1] > 1):

0 commit comments

Comments
 (0)