Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Project-MONAI/MONAI
/ __call__
Method
__call__
tests/transforms/utility/test_rand_lambda.py:34–36 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
32
self._a = self.R.random()
33
34
def
__call__(self, data):
35
self.randomize()
36
return
deepcopy(data) + self._a
37
38
39
class
TestRandLambda(unittest.TestCase):
Callers
nothing calls this directly
Calls
1
randomize
Method · 0.95
Tested by
no test coverage detected