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 Summary: 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. Differential Revision: D53454672
- Loading branch information
1 parent
0c2462f
commit 2157f0e
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