Decorator marking a test to skip if torch_device is 'mps
(test_case)
| 316 | |
| 317 | |
| 318 | def skip_mps(test_case): |
| 319 | """Decorator marking a test to skip if torch_device is 'mps'""" |
| 320 | return unittest.skipUnless(torch_device != "mps", "test requires non 'mps' device")(test_case) |
| 321 | |
| 322 | |
| 323 | def require_flax(test_case): |
nothing calls this directly
no outgoing calls
no test coverage detected