This is an automated email from the ASF dual-hosted git repository.
jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 7bc48cd Update the threshold for diff (#8095)
7bc48cd is described below
commit 7bc48cde8775bc0eac3262c4431f88e17a353619
Author: Gautam Kumar <[email protected]>
AuthorDate: Fri Sep 29 10:21:32 2017 -0700
Update the threshold for diff (#8095)
---
scala-package/core/src/test/scala/ml/dmlc/mxnet/NDArraySuite.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scala-package/core/src/test/scala/ml/dmlc/mxnet/NDArraySuite.scala
b/scala-package/core/src/test/scala/ml/dmlc/mxnet/NDArraySuite.scala
index e1d091d..0aa1e72 100644
--- a/scala-package/core/src/test/scala/ml/dmlc/mxnet/NDArraySuite.scala
+++ b/scala-package/core/src/test/scala/ml/dmlc/mxnet/NDArraySuite.scala
@@ -170,7 +170,7 @@ class NDArraySuite extends FunSuite with BeforeAndAfterAll
with Matchers {
val result = (start until stop by step).flatMap(x =>
Array.fill[Float](repeat)(x))
val range = NDArray.arange(start = start, stop = Some(stop), step = step,
repeat = repeat, ctx = Context.cpu(), dType = DType.Float32)
- assert(CheckUtils.reldiff(result.toArray, range.toArray) <= 1e-5f)
+ assert(CheckUtils.reldiff(result.toArray, range.toArray) <= 1e-4f)
}
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].