Commit 5f00bf1
Update dice.py (#4234)
* Update dice.py
reduce redundant operations in DiceFocalLoss, initially caused oom
Signed-off-by: Ryan Clanton <55164720+ryancinsight@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Ryan Clanton <55164720+ryancinsight@users.noreply.github.com>
* [MONAI] python code formatting
Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: monai-bot <monai.miccai2019@gmail.com>1 parent 66f3280 commit 5f00bf1
1 file changed
+19
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
800 | | - | |
801 | 799 | | |
802 | 800 | | |
803 | 801 | | |
| |||
808 | 806 | | |
809 | 807 | | |
810 | 808 | | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
| 809 | + | |
818 | 810 | | |
819 | 811 | | |
820 | 812 | | |
821 | 813 | | |
822 | 814 | | |
823 | 815 | | |
| 816 | + | |
| 817 | + | |
824 | 818 | | |
825 | 819 | | |
826 | 820 | | |
| |||
837 | 831 | | |
838 | 832 | | |
839 | 833 | | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
840 | 850 | | |
841 | 851 | | |
842 | 852 | | |
| |||
0 commit comments