-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up variable vs weight in base layer #521
Conversation
7c6ece2
to
fc8c70c
Compare
Not quite! We still intend for our users to use There's a (subtle) difference between variables and weights. Most users won't care about the difference or won't understand it -- so they should generally use Weights are variables that parameterize the forward pass. They are the parameters of the manifold learned by the model. For instance, a Conv kernel, or the BN statistics are weights. Variables are more general than that. They include weights, but also various side-variables that aren't weights, such as RNG seeds, metric state variables (if any metric is attached), and possibly some metadata variables like counters. You will use |
fc8c70c
to
c250364
Compare
Thanks! I still think there are a few cleanups to be made here, but good to know the distinction! I will rework this. |
c9d4558
to
2b2b7d4
Compare
OK! Update this to be a pure docstring fix. Tried to clarify a little more, and Overall, this still feels a little confusing. We refer to weights and variables interchangeably for the most part. Do we want |
2b2b7d4
to
9306248
Compare
9306248
to
5faefe6
Compare
I would say, probably not for now. We can revisit later though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this pretty confusing. Anyway, thanks for the fixes!
Clean up docstrings to clarify variables vs weights.