-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #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. Reviewed By: choudharydhruv Differential Revision: D40683435 fbshipit-source-id: 5d907fc6b572a77c8f030a06b3330360f2da0cba
- Loading branch information
1 parent
4c64ac4
commit 582afe2
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.