Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
39
def
_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
45
def
test_var() -> None:
Callers
6
test_match_cast
Function · 0.70
test_prim_value
Function · 0.70
test_prim_value_with_var
Function · 0.70
test_prim_value_with_expr
Function · 0.70
test_string_imm
Function · 0.70
test_datatype_imm
Function · 0.70
Calls
1
_check_equal
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…