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

Function func

python/tvm/script/parser/core/dispatch.py:53–61  ·  view source on GitHub ↗

Register a method in parser virtual table. Parameters ---------- method : ParseMethod The dispatched method to be registered in parser virtual table.

(method: ParseMethod)

Source from the content-addressed store, hash-verified

51 """
52
53 def func(method: ParseMethod):
54 """Register a method in parser virtual table.
55
56 Parameters
57 ----------
58 method : ParseMethod
59 The dispatched method to be registered in parser virtual table.
60 """
61 ParseVTable[(token, type_name)] = method
62
63 return func
64

Callers 15

_wrapperFunction · 0.70
visitMethod · 0.70
from_docFunction · 0.70
to_docFunction · 0.70
existsFunction · 0.50
_conv_find_algoFunction · 0.50
gen_call_tir_inputsFunction · 0.50
_convert_reduction_opMethod · 0.50
call_tirMethod · 0.50
call_dps_packedMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…