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

Class TestCompose

tests/data/test_arraydataset.py:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42class TestCompose(Compose):
43 __test__ = False # indicate to pytest that this class is not intended for collection
44
45 def __call__(self, input_, lazy=False):
46 img = self.transforms[0](input_)
47 metadata = img.meta
48 img = self.transforms[1](img)
49 img = self.transforms[2](img, lazy=lazy)
50 metadata = img.meta
51 return self.transforms[3](img), metadata
52
53
54TEST_CASE_3 = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…