]> git.sesse.net Git - ffmpeg/commit
tests/dnn/mathunary: fix the issue of NAN
authorTing Fu <ting.fu@intel.com>
Wed, 8 Jul 2020 06:09:51 +0000 (14:09 +0800)
committerGuo, Yejun <yejun.guo@intel.com>
Thu, 9 Jul 2020 01:34:44 +0000 (09:34 +0800)
commitdbf66b9e0edf8869da5187921b96ab3290d17eb8
tree46a2e4b7f402aa2b82f855f515a964ec4f10cea6
parentd294716c22c827d889dde235a8e9fcd4dd6466c9
tests/dnn/mathunary: fix the issue of NAN

When one of output[i] & expected_output is NAN, the unit test will always pass.

Signed-off-by: Ting Fu <ting.fu@intel.com>
Reviewed-by: Guo, Yejun <yejun.guo@intel.com>
tests/dnn/dnn-layer-mathunary-test.c