Skip to content

[WebNN EP] Support reshape and expand with 0d input and 0d output #22215

@mingmingtasd

Description

@mingmingtasd

Describe the issue

A scalar input to a scalar output should be valid nop for reshape and expand.

To reproduce

Run onnx model with reshape or expand, the input and output are both 0d scalar on WebNN EP.

Urgency

No response

ONNX Runtime Installation

Built from Source

ONNX Runtime Version or Commit ID

a47254e

Execution Provider

Other / Unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    ep:WebNNWebNN execution providerplatform:webissues related to ONNX Runtime web; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions