(self, mod: IRModule, ctx: tvm.transform.PassContext)
| 57 | """ |
| 58 | |
| 59 | def transform_module(self, mod: IRModule, ctx: tvm.transform.PassContext) -> IRModule: |
| 60 | fast_math_codegen = FastMathCodeGenerator(mod) |
| 61 | for gv, func in mod.functions_items(): |
| 62 | if isinstance(func, tvm.relax.Function): |
| 63 | func = fast_math_codegen.visit_expr(func) |
| 64 | fast_math_codegen.builder_.update_func(gv, func) |
| 65 | return fast_math_codegen.builder_.get() |
nothing calls this directly
no test coverage detected