leezu opened a new issue #16932: Detect unsupported usage of Gluon Hybridization
URL: https://github.com/apache/incubator-mxnet/issues/16932
 
 
   ## Description
   Sometimes users may expect Gluon hybridization to magically do things it 
currently cannot do.
   An example is https://github.com/apache/incubator-mxnet/issues/16926, where 
the user expects `if autograd.is_training()` control flow to be incorporated 
into the hybridized graph.
   
   Instead of silently ignoring the control flow and picking the branch that 
was selected during the first call to the hybrid network, we should error out 
or warn the user.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to