Skip to content

Commit 6a6243c

Browse files
committed
Add SubtractItemsDict and SubtractItemsD
Signed-off-by: Ana Matoso <[email protected]>
1 parent 544ce40 commit 6a6243c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

monai/transforms/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,8 @@
648648
SqueezeDimD,
649649
SqueezeDimDict,
650650
SubtractItemsd,
651+
SubtractItemsD,
652+
SubtractItemsDict,
651653
ToCupyd,
652654
ToCupyD,
653655
ToCupyDict,

monai/transforms/utility/dictionary.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@
161161
"SqueezeDimD",
162162
"SqueezeDimDict",
163163
"SqueezeDimd",
164+
"SubtractItemsD",
165+
"SubtractItemsDict",
164166
"SubtractItemsd",
165167
"ToCupyD",
166168
"ToCupyDict",
@@ -1979,6 +1981,7 @@ def inverse(self, data: Mapping[Hashable, torch.Tensor]) -> dict[Hashable, torch
19791981
DataStatsD = DataStatsDict = DataStatsd
19801982
SimulateDelayD = SimulateDelayDict = SimulateDelayd
19811983
CopyItemsD = CopyItemsDict = CopyItemsd
1984+
SubtractItemsD = SubtractItemsDict = SubtractItemsd
19821985
ConcatItemsD = ConcatItemsDict = ConcatItemsd
19831986
LambdaD = LambdaDict = Lambdad
19841987
LabelToMaskD = LabelToMaskDict = LabelToMaskd

0 commit comments

Comments
 (0)