-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Add preprocessing information on the Weights documentation #6009
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
Conversation
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.
Some comments:
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.
Thanks @datumbox , I think it looks nice!
Maybe as a follow-up (very low pri) we could check if all the descriptions are the same for a given weight enum. And if they're all the same, then we would just need to document it once at the top, like
all weights below follow the following pre-processing: ...
Just a thought, definitely not worth bothering with that now.
…6009) Summary: * Adding `__repr__` in presets * Adds `describe()` methods to all presets. * Adding transform descriptions in the documentation. * Change "preprocessing" to "inference" Reviewed By: datumbox Differential Revision: D36413356 fbshipit-source-id: f8a88b5e1cab5beca1008d4c5fb88b98102dc389
Fixes partially #6014
Each weight comes with a human-readable description of how the preprocessing happens during inference:
