(self)
| 82 | self.assertEqual(result.shape, expected_shape) |
| 83 | |
| 84 | def test_script(self): |
| 85 | net = AutoEncoder(spatial_dims=2, in_channels=1, out_channels=1, channels=(4, 8), strides=(2, 2)) |
| 86 | test_data = torch.randn(2, 1, 32, 32) |
| 87 | test_script_save(net, test_data) |
| 88 | |
| 89 | def test_channel_stride_difference(self): |
| 90 | with self.assertRaises(ValueError): |
nothing calls this directly
no test coverage detected