MCPcopy Index your code
hub / github.com/apache/tvm / postprocess_pipeline

Function postprocess_pipeline

tests/python/relax/texture/test_texture_nd.py:90–106  ·  view source on GitHub ↗
(mod: IRModule)

Source from the content-addressed store, hash-verified

88
89
90def postprocess_pipeline(mod: IRModule) -> IRModule:
91 seq = tvm.transform.Sequential(
92 [
93 tvm.relax.transform.ToNonDataflow(),
94 tvm.relax.transform.RemovePurityChecking(),
95 tvm.relax.transform.CallTIRRewrite(),
96 tvm.relax.transform.Normalize(),
97 tvm.relax.transform.StaticPlanBlockMemory(),
98 tvm.relax.transform.LowerAllocTensor(),
99 tvm.relax.transform.KillAfterLastUse(),
100 tvm.relax.transform.LowerRuntimeBuiltin(),
101 tvm.relax.transform.VMShapeLower(),
102 tvm.relax.transform.AttachGlobalSymbol(),
103 ]
104 )
105 mod = seq(mod)
106 return mod
107
108
109@pytest.mark.skipif(not env.has_rpc(), reason="need rpc")

Callers 1

test_texture_copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…