Kan Wu created MXNET-1422:
-----------------------------
Summary: Fix wrong results of min([inf, inf]) and max([-inf,-inf])
Key: MXNET-1422
URL: https://issues.apache.org/jira/browse/MXNET-1422
Project: Apache MXNet
Issue Type: Bug
Components: Apache MXNet Backend
Reporter: Kan Wu
[https://github.com/apache/incubator-mxnet/pull/16226]
Hi, there.
In the latest version of MXNet, the results of min([inf, inf]) and max([-inf,
-inf]) are wrong.
[#16206|https://github.com/apache/incubator-mxnet/issues/16206] .
The reason is that the initial values of minimum or maximum reducer are the
MaxValue and the MinValue. They should be the +InfValue and the -InfValue.
In this PR, I add {{PosInfValue}} and {{NegInfValue}} in mshadow. Then I fixed
the bug.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]