MCPcopy Index your code
hub / github.com/apache/tvm / add_two

Function add_two

tests/python/relax/test_tvmscript_parser.py:2214–2217  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

2212
2213 @R.macro(hygienic=True)
2214 def add_two(value):
2215 x = value + R.const(1) # `x` defined in macro
2216 y = x + R.const(1)
2217 return y
2218
2219 @R.function(private=True)
2220 def func(t: R.Tensor((), "int32")):

Callers 1

funcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…