Source code for heterocl.tvm.codegen

"""Code generation related functions."""
from ._ffi.function import _init_api

[docs]def build_module(lowered_func, target): """Build lowered_func into Module. Parameters ---------- lowered_func : LoweredFunc The lowered function target : str The target module type. Returns ------- module : Module The corressponding module. """ return _Build(lowered_func, target)
_init_api("tvm.codegen")