Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ReduceAggregatorMax fill_for_empty_set #22385

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JJMeg
Copy link

@JJMeg JJMeg commented Oct 10, 2024

Description

Add fill empty set fumction for ReduceAggregatorMax.

Motivation and Context

  • There is a case happen that when null tensor into ReduceMax operator, and the output shape of ReduceMax operator is not empty, the check_and_reduce_empty_set_input function return false, raises the exception.
  • It sometimes happens when infering in the production, and this edge case should be avoided, so implement the fill_for_empty_set function for the ReduceMax operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant