Group one or multiple composite functions created by FuseOpsByPattern into a new function. The new function will be annotated with "Codegen" and "global_symbol" attributes, and it is intented to be offloaded to an external backend. Returns ------- ret : tvm.transform.Pass
()
| 963 | |
| 964 | |
| 965 | def MergeCompositeFunctions() -> tvm.ir.transform.Pass: |
| 966 | """Group one or multiple composite functions created by FuseOpsByPattern into a new function. |
| 967 | The new function will be annotated with "Codegen" and "global_symbol" attributes, and it |
| 968 | is intented to be offloaded to an external backend. |
| 969 | |
| 970 | Returns |
| 971 | ------- |
| 972 | ret : tvm.transform.Pass |
| 973 | The registered pass for merging composite functions. |
| 974 | """ |
| 975 | return _ffi_api.MergeCompositeFunctions() # type: ignore |
| 976 | |
| 977 | |
| 978 | def AttachAttrLayoutFreeBuffers() -> tvm.ir.transform.Pass: |
no outgoing calls
searching dependent graphs…