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

Method __call__

tests/integration/test_one_of.py:77–81  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

75 self.fwd_fn, self.inv_fn = None, None
76
77 def __call__(self, data):
78 d = deepcopy(dict(data))
79 for key in self.key_iterator(d):
80 d[key] = self.fwd_fn(d[key])
81 return d
82
83
84class NonInv(MapBase):

Callers

nothing calls this directly

Calls 1

key_iteratorMethod · 0.80

Tested by

no test coverage detected