Refactor the `get_weights` API (#5006)
* Change the `default` weights mechanism to sue Enum aliases. * Change `get_weights` to work with full Enum names and make it public. * Applying improvements from code review.
Showing
Please register or sign in to comment