Skip to content

Indices on gpu #544

@jc211

Description

@jc211

🚀 The feature

Is there a way to have the decoder take in a tensor of indices that are already on the gpu and return a tensor of the same shape. For example if inds is indices of shape (..., 1), I = decoder[inds] returns I of shape (..., H,W, C).

Motivation, pitch

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions