yifeim commented on issue #13244: hybridize rnn and add model graph URL: https://github.com/apache/incubator-mxnet/pull/13244#issuecomment-450514865 *@sandeep-krishnamurthy* If I understand correctly, perhaps I should also emphasize that there are models that are never hybridized for good reasons. Hybridize should always be “an option”, for two reasons: 1. For some algorithms, e.g., RNN models, hybridize offers no performance differences. 2. Hybridize turns a gluon model into a symbol model and hence it strips away all dynamic computation capabilities, such as if/else, for loop, and array indexing. While mxnet 1.3 offers some dynamic graph capabilities, they are still very limited. For example, if/else condition requires the outputs to always have the same dimensions, which is sometimes impractical. On Sat, Dec 29, 2018 at 11:20 AM Yifei Ma <[email protected]> wrote: > 1. As noted in both README and help strings, hybridizing an RNN is not > supported in mxnet<=1.2. > > 2. Export is the most obvious way for me to dump a network, unless you > recommend a different approach that I am not aware of? > > On Sat, Dec 29, 2018 at 10:56 AM Sandeep Krishnamurthy < > [email protected]> wrote: > >> *@sandeep-krishnamurthy* commented on this pull request. >> >> Thanks for your contributions. 2 questions. >> >> 1. Why should Hybridize even be an option? Why can't we just have it >> as default? >> 2. export only is confusing or mis-leading. export is referred to a >> model (network + params) not just network. And, why is this option required? >> >> — >> You are receiving this because you were mentioned. >> Reply to this email directly, view it on GitHub >> <https://github.com/apache/incubator-mxnet/pull/13244#pullrequestreview-188419006>, >> or mute the thread >> <https://github.com/notifications/unsubscribe-auth/AIiQ6h7cUg0YOocWN_KGkUfSHxXLuo1mks5u97rHgaJpZM4Ya48l> >> . >> >
---------------------------------------------------------------- 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
