stephenrawls commented on issue #13967: Hybrid Variable Pass Through [Bug]
URL: 
https://github.com/apache/incubator-mxnet/issues/13967#issuecomment-456683576
 
 
   P.S.
   
   I forgot to mention that our current work around is to make the model 
perform some identify operation on the parameter. For example, if I change the 
hybrid forward function above to the following, then the code works correctly 
even in hybrid mode:
   
   ```
   def hybrid_forward(self, F, x, foo):
           return foo + 0.
   ```

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


With regards,
Apache Git Services

Reply via email to