You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/07/15 00:58:57 UTC

[GitHub] [incubator-mxnet] mseth10 commented on a change in pull request #18690: [WIP] optimize graph in presence of dynamic shape ops

mseth10 commented on a change in pull request #18690:
URL: https://github.com/apache/incubator-mxnet/pull/18690#discussion_r454728340



##########
File path: python/mxnet/symbol/symbol.py
##########
@@ -2513,6 +2513,18 @@ def detach(self):
     def backward(self):
         raise NotImplementedForSymbol(self.backward, None)
 
+    def partition_for_static_shape_ops(self):
+        """Check if any dynamic shape ops present in the symbol, if yes, partition static shape ops for optimization
+        returns the optimized symbol.
+        """
+        out = SymbolHandle()
+        has_dynamic_shape_ops = ctypes.c_bool(False)

Review comment:
       remove this variable




----------------------------------------------------------------
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:
users@infra.apache.org