Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update PositionWeightedModule to make it jit trace compitable
Summary: In ``` torch.ops.fbgemm.offsets_range(features[key].offsets().long(), torch.numel(features[key].values()) ``` This part ``` torch.numel(features[key].values() ``` will be traced into constant Reviewed By: snabelkabiya, houseroad Differential Revision: D53744703 fbshipit-source-id: bf87eeaacf295b82b4591fb53029f66868ab8d86
- Loading branch information