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

Method read

tests/transforms/test_load_image.py:48–49  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

46 return self.is_compatible
47
48 def read(self, name):
49 return name
50
51 def get_data(self, _obj):
52 return np.zeros((1, 1, 1)), {"name": "my test"}

Callers 14

test_monai_to_itkMethod · 0.45
test_real_dataMethod · 0.45
test_fileMethod · 0.45
test_fileMethod · 0.45
test_task_initMethod · 0.45
test_loss_fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected