-
gluon-nlp/gluonnlp/model/sampled_block.py Line 169 in fb27033 Why pass them from outside? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The convention for Gluon is that the class members for parameters will be automatically passed in hybrid_forward as keyword arguments. The name of the keyword argument is from the self.params.get(name). |
Beta Was this translation helpful? Give feedback.
-
Hmm, didn't know that. Not clear from the docs. Thanks for answering |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback. I created an issue in mxnet repo to track this apache/mxnet#12580 |
Beta Was this translation helpful? Give feedback.
Thanks for the feedback. I created an issue in mxnet repo to track this apache/mxnet#12580