Question regarding MaxPool Indices output if several same local maximum values #3230
-
The specification for MaxPool has two outputs: Indices (optional, non-differentiable) : I see: https://github.com/onnx/onnx/blob/master/docs/Operators.md#MaxPool My question is regarding the MaxPool Indices output:
what should the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I finally took the time to run this on OnnxRuntime. Just to see what the default implementation is using for this issue. it is returning
So if we are using OnnxRuntime as the reference implementation then the first instance of the local Maximum is picked. To verify this I did the test again with slightly different input.
I then got the following output for the indexes:
This matches with picking the first instance of the local maximum for the returned index. |
Beta Was this translation helpful? Give feedback.
-
Summarizing a conversation that occurred via email:
|
Beta Was this translation helpful? Give feedback.
Summarizing a conversation that occurred via email: