(self)
| 929 | dispatcher.register(["CPU", "CPU"]) |
| 930 | |
| 931 | def test_defaultbackend_math(self): |
| 932 | dispatcher = PythonDispatcher() |
| 933 | |
| 934 | with self.assertRaisesRegex( |
| 935 | RuntimeError, |
| 936 | r"Registration to both CompositeImplicitAutograd and CompositeExplicitAutograd is not allowed"): |
| 937 | dispatcher.register(["CompositeExplicitAutograd", "CompositeImplicitAutograd"]) |
| 938 | |
| 939 | def test_quantized_structured_not_implemented(self): |
| 940 | x = torch.zeros([1, 1, 1]) |
nothing calls this directly
no test coverage detected