Skip to content

Enhance indices of gather to be in the range [-N, N) #98

@BruceDai

Description

@BruceDai

Last indices of gather was in the range [0, N), now its spec has changed as below

indices: ... must be in the range -N (inclusive) to N (exclusive) where N is the size of the input dimension indexed by options.axis, and a negative index means indexing from the end of the dimension.

Link to webmachinelearning/webnn#642

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