For example: from monai.losses import DiceCELoss # Before criterion = DiceCELoss() criterion.cross_entropy.label_smoothing = 0.1 # Now criterion = DiceCELoss(label_smoothing=0.1) Types of changes Non-breaking change (fix or new feature that would not break existing functionality). Breaking ...
Nic-Ma merged 5 commits into Project-MONAI:dev from Nic-Ma:2612-enhance-doc-losses Jul 16, 2021 +12 −8 Conversation 1 Commits 5 Checks 0 Files changed 1 Conversation Contributor Nic-Ma commented Jul 16, 2021 Fixes #2612 . Description This PR enhanced the doc-string for activation arg...