KexinFeng edited a comment on issue #20293: URL: https://github.com/apache/incubator-mxnet/issues/20293#issuecomment-867012740
I see. > because the equivalent python example in my original report works fine and it also has the _copy operator Actually I notice a discrepancy between the python call and cpp call. In python code, it calls `CachedOp::Forward()` and then `CachedOp::StaticForward()`. In cpp code, `CachedOp::Forward()` calls `CachedOp::DynamicForward()`. I currently don't know if this discrepancy triggers the bug. But it can be tested quicly by setting something like `hybridize(static_alloc=True)` on python, or setting `static_alloc=False` on cpp. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
