slyubomirsky commented on code in PR #16129: URL: https://github.com/apache/tvm/pull/16129#discussion_r1450829900
########## python/tvm/relax/testing/transform.py: ########## @@ -128,3 +129,62 @@ def transform(self): def ApplyEmptyCppMutator() -> tvm.ir.transform.Pass: packed_func = tvm.get_global_func("relax.testing.transform.ApplyEmptyCppMutator") return packed_func() + + +def dataflow_liveness_analysis(block: DataflowBlock) -> Dict[Var, Tuple[int, int]]: + """ + Inner function for the dataflow inplace transformation exposed for testing. + """ + live_ranges = tvm.get_global_func("relax.testing.transform.DataflowLivenessAnalysis")( Review Comment: Good idea, that's a handy feature. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org