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

Method current

python/tvm/script/ir_builder/base.py:139–147  ·  view source on GitHub ↗

Get the current IRBuilder put in the with-scope. Returns ------- builder : IRBuilder The current IRBuilder.

()

Source from the content-addressed store, hash-verified

137
138 @staticmethod
139 def current() -> "IRBuilder":
140 """Get the current IRBuilder put in the with-scope.
141
142 Returns
143 -------
144 builder : IRBuilder
145 The current IRBuilder.
146 """
147 return _ffi_api.IRBuilderCurrent() # type: ignore[attr-defined] # pylint: disable=no-member
148
149 @staticmethod
150 def is_in_scope() -> bool:

Callers 3

_compile_cuda_nvccFunction · 0.45
_compile_cuda_nvrtcFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected