(t0, t1)
| 592 | tvm.testing.assert_allclose(c_nd.numpy(), c_np, rtol=1e-3) |
| 593 | |
| 594 | def skip(t0, t1): |
| 595 | if t0 == t1: |
| 596 | return True |
| 597 | # CUDA does support cast between {u}int8 and fp16. |
| 598 | skip_set = {"float16", "uint8", "int8"} |
| 599 | if t0 in skip_set and t1 in skip_set: |
| 600 | return True |
| 601 | return False |
| 602 | |
| 603 | types_4 = [ |
| 604 | "float16", |
no outgoing calls
no test coverage detected
searching dependent graphs…