torchrec
torchrec copied to clipboard
support dynamic dim for variable lengths in KJT
Summary:
context
- previouls this helper function only supports
len(kjt.lengths()) == batch_size * len(kjt.keys()) - now it also supports that declaring len(kjt.lengths()) as a standalone dynamic dim
Differential Revision: D59194969
This pull request was exported from Phabricator. Differential Revision: D59194969