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

Method test_script

tests/networks/nets/test_segresnet.py:80–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 SegResNet(spatial_dims=4)
79
80 def test_script(self):
81 input_param, input_shape, expected_shape = TEST_CASE_SEGRESNET[0]
82 net = SegResNet(**input_param)
83 test_data = torch.randn(input_shape)
84 test_script_save(net, test_data)
85
86
87class TestResNetVAE(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

SegResNetClass · 0.90
test_script_saveFunction · 0.90

Tested by

no test coverage detected