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

Function func

tests/python/tirx-base/test_tir_base.py:107–110  ·  view source on GitHub ↗
(a: T.float32, b: T.float32)

Source from the content-addressed store, hash-verified

105def test_control_flow_jump():
106 @T.prim_func(s_tir=True)
107 def func(a: T.float32, b: T.float32):
108 if True:
109 T.evaluate(T.ret(a))
110 T.evaluate(T.ret(b))
111
112 func = build_tir_func(func)
113 out = func(1.0, 2.0)

Callers 11

test_nearbyintFunction · 0.70
test_round_ties_to_evenFunction · 0.70
run_testFunction · 0.70
test_ldexpFunction · 0.70
test_clzFunction · 0.70
test_const_fold3Function · 0.70
test_scalar_addFunction · 0.70
test_ret_constFunction · 0.70
test_control_flow_jumpFunction · 0.70
test_break_loopFunction · 0.70
test_continue_loopFunction · 0.70

Calls 1

evaluateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…