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

Method test_script

tests/networks/nets/test_hovernet.py:181–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

179 pass
180
181 def test_script(self):
182 for padding_flag in [True, False]:
183 net = HoVerNet(mode=HoVerNet.Mode.FAST, decoder_padding=padding_flag)
184 test_data = torch.randn(1, 3, 256, 256)
185 test_script_save(net, test_data)
186
187 def test_ill_input_shape(self):
188 net = HoVerNet(mode=HoVerNet.Mode.FAST)

Callers

nothing calls this directly

Calls 2

HoVerNetClass · 0.90
test_script_saveFunction · 0.90

Tested by

no test coverage detected