Skip to content

Clarify default value of axis for DequantizeLinear when input rank is 1 #6067

@mgehre-amd

Description

@mgehre-amd

Ask a Question

Question

DequantizeLinear says both that

  • the default value of axis is 1
  • and that for axis, the accepted range is [-r, r-1] where r = rank(input).

What happens when the rank of the input is 1 and axis is not specified?
According to the spec, this seems to be illegal.
onnxruntime successfully executes such models.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions