Skip to content

Commit da37ead

Browse files
committed
- More revert inlining helper pass.
1 parent d5224cb commit da37ead

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

python/tvm/relay/transform/transform.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,25 +1420,3 @@ def MarkCompilerFunctionsAsExtern(compiler_filter=""):
14201420
The pass.
14211421
"""
14221422
return _ffi_api.MarkCompilerFunctionsAsExtern(compiler_filter)
1423-
1424-
1425-
def InlineCompilerFunctions(global_vars):
1426-
"""Inlines all global functions bound to a global var in global_vars.
1427-
1428-
Both the global "Compiler" attributed function, and any "Composite" functions it its body are
1429-
inlined.
1430-
1431-
This pass may be useful for external codegen which needs to undo partitioning based on
1432-
properties of the entire partition.
1433-
1434-
Parameters
1435-
----------
1436-
global_vars : Array[tvm.relay.GlobalVar]
1437-
The global vars of all 'Compiler' functions to inline.
1438-
1439-
Returns
1440-
-------
1441-
ret : tvm.transform.Pass
1442-
The pass.
1443-
"""
1444-
return _ffi_api.InlineCompilerFunctions(global_vars)

0 commit comments

Comments
 (0)