mseth10 opened a new issue #18889:
URL: https://github.com/apache/incubator-mxnet/issues/18889


   ## Description
   When a graph containing dynamic shape op is partitioned based on #18887 (and 
#18888 ) , the new computation graph contains dynamic shape ops and subgraphs 
containing static shape ops. The input shapes to these subgraphs can vary for 
two graph inputs of same shape. This is possible because a dynamic shape op can 
produce different output shapes for two inputs of same shape, and output of 
such a dynamic shape op can be an input to a static shape subgraph. Thus, graph 
optimization techniques like shape inference and memory allocation cannot 
necessarily be reused from one input to another. A caching of such an optimized 
subgraph based on input shape is necessary to get performance boost for some 
inputs.


----------------------------------------------------------------
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:
[email protected]


Reply via email to