Commit d744ce2b by xiaotong

bug fixes

parent abeb3e64
......@@ -121,7 +121,7 @@ bool TestNormalize1()
Normalize(s, t, 0, mean, var, a, b, 0.0F);
/* check results */
cpuTest = t->CheckData(answer, tUnitNum, 1e-4, 0);
cpuTest = t->CheckData(answer, tUnitNum, 1e-4F, 0);
#ifdef USE_CUDA
/* GPU test */
......@@ -147,7 +147,7 @@ bool TestNormalize1()
Normalize(sGPU, tGPU, 0, meanGPU, varGPU, aGPU, bGPU, 0.0F);
/* check results */
gpuTest = tGPU->CheckData(answer, tUnitNum, 1e-4, 0);
gpuTest = tGPU->CheckData(answer, tUnitNum, 1e-4F, 0);
/* destroy variables */
delete s;
......
......@@ -55,7 +55,7 @@ bool Test()
wrong = !TestSort() || wrong;
wrong = !TestSplit() || wrong;
wrong = !TestSum() || wrong;
wrong = !TestSumByColumnTV || wrong;
wrong = !TestSumByColumnTV() || wrong;
//wrong = !TestSumByColumnVT() || wrong;
wrong = !TestTopK() || wrong;
wrong = !TestUnsqueeze() || wrong;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论