Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add group_index_select_dim0 #1421

Closed
wants to merge 1 commit into from
Closed

Commits on Oct 25, 2022

  1. Add group_index_select_dim0

    Summary:
    `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: 5c4e6adced3fad43206f91b1a9131774d6ed71f5
    sryap authored and facebook-github-bot committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    b10c170 View commit details
    Browse the repository at this point in the history