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 a1a07b2  setting a fixed seed for module tutorial to pass Jenkins 
build (#10479)
a1a07b2 is described below

commit a1a07b260df330f5c94fc82bd0ecae129b619f35
Author: Hao Jin <haoj...@users.noreply.github.com>
AuthorDate: Tue Apr 10 12:58:21 2018 -0400

    setting a fixed seed for module tutorial to pass Jenkins build (#10479)
---
 docs/tutorials/basic/module.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/tutorials/basic/module.md b/docs/tutorials/basic/module.md
index 2d44951..11a3ffb 100644
--- a/docs/tutorials/basic/module.md
+++ b/docs/tutorials/basic/module.md
@@ -43,6 +43,7 @@ logging.getLogger().setLevel(logging.INFO)
 import mxnet as mx
 import numpy as np
 
+mx.random.seed(1234)
 fname = 
mx.test_utils.download('http://archive.ics.uci.edu/ml/machine-learning-databases/letter-recognition/letter-recognition.data')
 data = np.genfromtxt(fname, delimiter=',')[:,1:]
 label = np.array([ord(l.split(',')[0])-ord('A') for l in open(fname, 'r')])

-- 
To stop receiving notification emails like this one, please contact
j...@apache.org.

Reply via email to