提交 6828d19d authored 作者: Frederic Bastien's avatar Frederic Bastien

fix a test in float32 down to too low threashold of acceptance.

上级 61b9d4e7
......@@ -617,7 +617,7 @@ tan_grad_rtol = None
if config.floatX=='float32':
#We raise the relative tolerence for the grad as their is error in float32
#This is probably caused by our way of computing the gradient error.
tan_grad_rtol = 0.047
tan_grad_rtol = 0.052
TanTester = makeBroadcastTester(op = tan,
expected = numpy.tan,
good = dict(normal = (rand_ranged(-3.14, 3.14, (2, 3)),),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论