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

Method randomize

monai/transforms/croppad/dictionary.py:980–981  ·  view source on GitHub ↗
(self, weight_map: NdarrayOrTensor)

Source from the content-addressed store, hash-verified

978 return self
979
980 def randomize(self, weight_map: NdarrayOrTensor) -> None:
981 self.cropper.randomize(weight_map)
982
983 @LazyTransform.lazy.setter # type: ignore
984 def lazy(self, value: bool) -> None:

Callers 1

__call__Method · 0.95

Calls 1

randomizeMethod · 0.45

Tested by

no test coverage detected