(x, y, map_free_vars=False)
| 27 | |
| 28 | |
| 29 | def _check_equal(x, y, map_free_vars=False): |
| 30 | tvm.ir.assert_structural_equal(x, y, map_free_vars) |
| 31 | tvm.ir.assert_structural_equal(y, x, map_free_vars) |
| 32 | |
| 33 | xhash = tvm_ffi.structural_hash(x, map_free_vars) |
| 34 | yhash = tvm_ffi.structural_hash(y, map_free_vars) |
| 35 | |
| 36 | assert xhash == yhash |
| 37 | |
| 38 | |
| 39 | def _check_json_roundtrip(x): |
no outgoing calls
no test coverage detected
searching dependent graphs…