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

Function test_string_imm

tests/python/relax/test_expr.py:273–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271
272
273def test_string_imm():
274 s0 = rx.StringImm("hello")
275 s1 = rx.StringImm("hello")
276 assert s0.value == "hello"
277 _check_equal(s0, s1)
278 _check_json_roundtrip(s0)
279
280
281def test_datatype_imm():

Callers

nothing calls this directly

Calls 2

_check_equalFunction · 0.70
_check_json_roundtripFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…