MCPcopy Index your code
hub / github.com/Project-MONAI/MONAI / compute

Method compute

tests/bundle/test_config_parser.py:78–79  ·  view source on GitHub ↗
(a, b, func=lambda x, y: x + y)

Source from the content-addressed store, hash-verified

76class TestClass:
77 @staticmethod
78 def compute(a, b, func=lambda x, y: x + y):
79 return func(a, b)
80
81 @classmethod
82 def cls_compute(cls, a, b, func=lambda x, y: x + y):

Callers 15

__call__Method · 0.95
_computeMethod · 0.45
_computeMethod · 0.45
_computeMethod · 0.45
_computeMethod · 0.45
test_computeMethod · 0.45
test_reductionMethod · 0.45
test_computeMethod · 0.45
test_compute_segMethod · 0.45
test_computeMethod · 0.45
test_computeMethod · 0.45
_computeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected