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

Method get

python/tvm/relax/block_builder.py:677–686  ·  view source on GitHub ↗

Return intermediate IRModule. For the situation where the IRModule is needed in the middle of a building process. Returns ------- ret : tvm.IRModule An IRModule with Relax and TIR functions being built.

(self)

Source from the content-addressed store, hash-verified

675 return _ffi_api.BlockBuilderNormalize(self, expr) # type: ignore
676
677 def get(self) -> tvm.IRModule:
678 """Return intermediate IRModule. For the situation where the IRModule is needed in the
679 middle of a building process.
680
681 Returns
682 -------
683 ret : tvm.IRModule
684 An IRModule with Relax and TIR functions being built.
685 """
686 return _ffi_api.BlockBuilderGetContextIRModule(self) # type: ignore
687
688 def finalize(self) -> tvm.IRModule:
689 """Finalize the building process and return the result IRModule.

Callers 15

_lower_if_to_functionMethod · 0.95
from_tfliteFunction · 0.95
__call__Method · 0.95
__call__Method · 0.95
__call__Method · 0.95
__call__Method · 0.95
get_functionMethod · 0.95
get_functionMethod · 0.95
get_functionMethod · 0.95
transform_moduleMethod · 0.95

Calls

no outgoing calls

Tested by 15

test_matmulFunction · 0.76
test_linearFunction · 0.76
test_einsumFunction · 0.76
_run_nms_e2eFunction · 0.76
test_sortFunction · 0.76
test_mlp_blockbuilderFunction · 0.76
beforeFunction · 0.76
expectedFunction · 0.76
test_extern_funcFunction · 0.76
test_emitFunction · 0.76
test_define_subroutineFunction · 0.76