Junru Shao created MXNET-749:
--------------------------------
Summary: Bug fixes in control flow operators
Key: MXNET-749
URL: https://issues.apache.org/jira/browse/MXNET-749
Project: Apache MXNet
Issue Type: Improvement
Reporter: Junru Shao
This PR fixes some bugs for control flow operators `mx.sym.contrib.while_loop`
and `mx.sym.contrib.cond`.
Takeaways:
- if now I understand correctly, we should call `MXSymbolCutSubgraph` to
capture free variables of a closure before calling `MXSymbolGetInputSymbols`. I
guess we should document this so that others won't be confused.
- `symbol._internal.something` always return a single Symbol, regardless of how
many outputs it actually has.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]