support jagged tensor with no inner dense dim
Summary:
jagged_to_padded_dense supports jagged tensor with inner dense dim is 1 and folded like the following example, but producing the error x_offsets.size(), 1 != num_jagged_dim, 0 in backward.
x_values = [5, 3, 7, 1] x_offsets = [0, 1, 4] max_length = 3 -> x_padded = [[5, 0, 0], [3, 7, 1]]
Differential Revision: D39121072
Deploy Preview for pytorch-fbgemm-docs canceled.
| Name | Link |
|---|---|
| Latest commit | a535ff5ce6d4f485de59af1b40177b91c8a53bb2 |
| Latest deploy log | https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/63b1d6be44c5d10008d5c495 |
This pull request was exported from Phabricator. Differential Revision: D39121072
This pull request was exported from Phabricator. Differential Revision: D39121072
This pull request has been merged in pytorch/FBGEMM@32b6a1249026cbb86121897d25d3ec1b08def1fa.