sxjscience commented on a change in pull request #9119: fix random generator:
do not gen seed each time
URL: https://github.com/apache/incubator-mxnet/pull/9119#discussion_r158868361
##########
File path: python/mxnet/test_utils.py
##########
@@ -34,6 +34,7 @@
import numpy as np
import numpy.testing as npt
import numpy.random as rnd
+import scipy.stats as ss
Review comment:
@javelinjs @piiswrong I've added one commit to solve the problem. Also,
I also add tests for the case in which the generator is triggered multiple
times.
https://github.com/apache/incubator-mxnet/pull/9129/commits/199fabdcc06736393f63639a806f522454341d02
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services