Using ApproximatelyEquals for trainer config unittest.
* Make float equal works well. * compare 0.01 and 0.009999999999 will return true.
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* Make float equal works well. * compare 0.01 and 0.009999999999 will return true.