sxjscience commented on issue #16752: Gluon hybridize is not perfect. URL: https://github.com/apache/incubator-mxnet/issues/16752#issuecomment-551205420 @JONGGON There are a few know inconsistent behaviors the HybridBlock: https://github.com/apache/incubator-mxnet/issues/16279, https://github.com/apache/incubator-mxnet/issues/16140 There are some tips to avoid these issues: 1. You should avoid `a.reshape(shape=...)` and use `F.reshape(a, shape=...)`. 2. You need to avoid index slicing, e.g., `a[:, 1]`, in the HybridBlock.
---------------------------------------------------------------- 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] With regards, Apache Git Services
