(x, y)
| 20 | @pytest.mark.skipif(not is_cuda_available(), reason="only support cuda now") |
| 21 | def test_partial_trace_inplace(): |
| 22 | def func(x, y): |
| 23 | x += 1 |
| 24 | y += 1 |
| 25 | |
| 26 | xla_func = partial_trace(func, backend="xla") |
| 27 | xla_func(tensor(1), tensor(2)) |
no test coverage detected