manupa-arm commented on a change in pull request #6777:
URL: https://github.com/apache/incubator-tvm/pull/6777#discussion_r518675923



##########
File path: python/tvm/relay/op/contrib/arm_compute_lib.py
##########
@@ -62,7 +72,7 @@ def partition_for_arm_compute_lib(mod, params=None):
             transform.InferType(),
             transform.MergeComposite(arm_compute_lib_pattern_table()),
             transform.AnnotateTarget("arm_compute_lib"),
-            transform.PartitionGraph(),
+            transform.PartitionGraph(optimize),

Review comment:
       Why cant we just run the optimize pass before partition graph here ? Is 
there a reason why it has to be inside PartitionGraph() ?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to