Skip to content

Question on reduction with empty axes and scalar input #740

@philloooo

Description

@philloooo

In MLReduceOptions

  • If empty, no dimensions are reduced, and the shape of the output tensor is the same as the shape of the input tensor.

Does that mean it should be an no-op (a.k.a identity)?

Is that true when you specifies empty axes for scalar input too?

If that's the case, our WPTs are wrong - it's clearly still reducing?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions