mxnet-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kan Wu (Jira)" <j...@apache.org>
Subject [jira] [Created] (MXNET-1422) Fix wrong results of min([inf, inf]) and max([-inf,-inf])
Date Fri, 20 Sep 2019 12:46:00 GMT
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


Mime
View raw message