forked from pytorch/torchrec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing feature names through ParameterConstraints and Sharding…
…Option (pytorch#1686) Summary: Pull Request resolved: pytorch#1686 Allow users to pass in feature_names. Preferably, it should be same as table.feature_names. In the case when no constraints are passed in, the feature_names will be None. Another option is to force extract feature names from BaseEmbeddingConfig, but that seems to be against the convention. Reviewed By: ge0405 Differential Revision: D53454672 fbshipit-source-id: 112d48baa3c2072c4004beafc64312ffde119901
- Loading branch information
1 parent
0c2462f
commit 7edcb2d
Showing
3 changed files
with
58 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters