(self)
| 61 | self.assertRaises(RuntimeError, lambda: add_tensoroverload(a, a, out=b)) |
| 62 | |
| 63 | def test_decompose(self): |
| 64 | x = torch.randn(2, 3) |
| 65 | y = torch.randn(5, 3) |
| 66 | self.assertEqual( |
| 67 | torch.ops.aten.linear.default.decompose(x, y), |
| 68 | torch.ops.aten.linear.default(x, y) |
| 69 | ) |
| 70 | |
| 71 | if __name__ == '__main__': |
| 72 | run_tests() |
nothing calls this directly
no test coverage detected