This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
gluon-nlp/gluonnlp/model/sampled_block.py Line 169 in fb27033 Why pass them from outside? |
Beta Was this translation helpful? Give feedback.
Answered by
szha
Sep 17, 2018
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.
0 replies
-
Hmm, didn't know that. Not clear from the docs. Thanks for answering |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the feedback. I created an issue in mxnet repo to track this apache/mxnet#12580 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
szha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the feedback. I created an issue in mxnet repo to track this apache/mxnet#12580