forked from pytorch/FBGEMM
-
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.
Add group_index_select_dim0 (pytorch#1421)
Summary: Pull Request resolved: pytorch#1421 `group_index_select_dim0` does `index_select_dim0` for each group of inputs in a single kernel. The operator takes a list of inputs and a list of indices and returns a list of outputs. There are some limitations to group_index_select_dim0: - All inputs must have the same shape. - All indices must have the same shape. - Because we use variadic template for the autograd function, it supports up to 55 groups. Differential Revision: D40683435 fbshipit-source-id: bcc52c0b1ae4f9270901bbd45d85d45c89051eb6
- Loading branch information
1 parent
3542b50
commit 035e812
Showing
6 changed files
with
642 additions
and
1 deletion.
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
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
Oops, something went wrong.