MaxPool with NaNs in the input #3232
-
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
or some other outputs. I have no clue what the last value in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I decided to try this exact scenario out in OnnxRuntime to see what the result was. the output from the MaxPool was
I don't think the code knows how to handle NaN so the code seems to do something unusual with the output. for the indices, the output is:
A negative index. Which is confusing. I think it is clear that the MaxPool implementation in OnnxRuntime is not capable of handling NaNs. |
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: