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

Function get_apply_param

tests/lazy_transforms_utils.py:24–31  ·  view source on GitHub ↗
(init_param=None, call_param=None, params=apply_transforms_kwargs)

Source from the content-addressed store, hash-verified

22
23
24def get_apply_param(init_param=None, call_param=None, params=apply_transforms_kwargs):
25 apply_param = {}
26 for key in apply_transforms_kwargs:
27 if init_param and key in init_param.keys():
28 apply_param[key] = init_param[key]
29 if call_param and key in call_param.keys():
30 apply_param[key] = call_param[key]
31 return apply_param
32
33
34def test_resampler_lazy(

Callers 2

test_resampler_lazyFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_resampler_lazyFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…