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

Class InvB

tests/integration/test_one_of.py:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115
116class InvB(Inv):
117
118 def __init__(self, keys):
119 super().__init__(keys)
120 self.fwd_fn = lambda x: x + 100
121 self.inv_fn = lambda x: x - 100
122
123
124TESTS = [((X(), Y(), X()), (1, 2, 1), (0.25, 0.5, 0.25))]

Callers 1

test_one_of.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…