(self, device)
| 200 | |
| 201 | @parameterized.expand(TEST_DEVICES) |
| 202 | def test_conv(self, device): |
| 203 | im, _ = self.get_im((1, 3, 10, 8, 12), device=device) |
| 204 | conv = torch.nn.Conv3d(im.shape[1], 5, 3) |
| 205 | conv.to(device) |
| 206 | out = conv(im) |
| 207 | self.check(out, im, shape=False, vals=False, ids=False) |
| 208 | |
| 209 | @parameterized.expand(TESTS) |
| 210 | def test_stack(self, device, dtype): |