Skip to content

Commit 0db5ec5

Browse files
Leon Gaofacebook-github-bot
Leon Gao
authored andcommitted
wrapping to jt_dict (#1306)
Summary: Pull Request resolved: #1306 * a simple fx.wrap Differential Revision: D48080861 Privacy Context Container: L1138451 fbshipit-source-id: 90f2269d494120f0242366ba4e8d09fa4790e5d9
1 parent fa53de4 commit 0db5ec5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchrec/sparse/jagged_tensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ def forward(
710710
)
711711

712712

713+
@torch.fx.wrap
713714
def _maybe_compute_kjt_to_jt_dict(
714715
stride: int,
715716
keys: List[str],

0 commit comments

Comments
 (0)