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)
| 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. |
no outgoing calls