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

Method current

python/tvm/relax/block_builder.py:161–166  ·  view source on GitHub ↗

Returns the current BlockBuilder.

()

Source from the content-addressed store, hash-verified

159
160 @staticmethod
161 def current() -> Optional["BlockBuilder"]:
162 """Returns the current BlockBuilder."""
163 if BlockBuilder._stack:
164 return BlockBuilder._stack[-1]
165 else:
166 return None
167
168 def __init__(self, mod: IRModule = None):
169 # Which functions are currently being defined

Callers 8

f_zero_pipelineFunction · 0.45
emit_func_outputMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
runMethod · 0.45
_connectFunction · 0.45
websocket_proxy_serverFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected