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

Method __call__

monai/transforms/spatial/array.py:3531–3534  ·  view source on GitHub ↗
(self, array: NdarrayOrTensor, randomize: bool = True)

Source from the content-addressed store, hash-verified

3529 return super().filter_count(image_np, locations)
3530
3531 def __call__(self, array: NdarrayOrTensor, randomize: bool = True):
3532 if randomize:
3533 self.randomize(array)
3534 return super().__call__(array)
3535
3536
3537class RandSimulateLowResolution(RandomizableTransform):

Callers

nothing calls this directly

Calls 2

randomizeMethod · 0.95
__call__Method · 0.45

Tested by

no test coverage detected