zheng-da commented on issue #12078: [MXNET-749] Correct usages of `CutSubgraph` in 3 control flow operators URL: https://github.com/apache/incubator-mxnet/pull/12078#issuecomment-411501463 we shouldn't add identity on all outputs. it's too expensive as a fix for a corner case. But the current solution may not work either. I think a better way is to check if `__subgraph_name__` is in `symbol.list_attr()` in the output symbol from the function.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
