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

Method test_script

tests/networks/nets/test_segresnet_ds.py:138–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

136 SegResNetDS2(spatial_dims=4)
137
138 def test_script(self):
139 input_param, input_shape, _ = TEST_CASE_SEGRESNET_DS[0]
140 net = SegResNetDS(**input_param)
141 test_data = torch.randn(input_shape)
142 test_script_save(net, test_data)
143
144
145if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

SegResNetDSClass · 0.90
test_script_saveFunction · 0.90

Tested by

no test coverage detected