MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / __call__

Method __call__

monai/transforms/regularization/dictionary.py:49–55  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

47 return self
48
49 def __call__(self, data):
50 d = dict(data)
51 # all the keys share the same random state
52 self.mixup.randomize(None)
53 for k in self.key_iterator(d):
54 d[k] = self.mixup(data[k], randomize=False)
55 return d
56
57
58class CutMixd(MapTransform, RandomizableTransform):

Callers

nothing calls this directly

Calls 2

key_iteratorMethod · 0.80
randomizeMethod · 0.45

Tested by

no test coverage detected