MCPcopy Create free account
hub / github.com/apache/tvm / _check_json_roundtrip

Function _check_json_roundtrip

tests/python/relax/test_expr.py:39–42  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

37
38
39def _check_json_roundtrip(x):
40 xret = tvm.ir.load_json(tvm.ir.save_json(x))
41 _check_equal(x, xret, map_free_vars=True)
42 return xret
43
44
45def test_var() -> None:

Callers 6

test_match_castFunction · 0.70
test_prim_valueFunction · 0.70
test_prim_value_with_varFunction · 0.70
test_string_immFunction · 0.70
test_datatype_immFunction · 0.70

Calls 1

_check_equalFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…