You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by "Kan Wu (Jira)" <ji...@apache.org> on 2019/09/20 12:46:00 UTC
[jira] [Created] (MXNET-1422) Fix wrong results of min([inf, inf])
and max([-inf,-inf])
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: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org