Skip to content

Commit 0054116

Browse files
committed
Update timing due to speed up. (lower the number of random number generator)
1 parent 1bb3230 commit 0054116

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

code/test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ def speed():
103103
# 7.1-2 (python 2.7.2, mkl unknow). BLAS with only 1 thread.
104104

105105
expected_times_64 = numpy.asarray([9.3, 21.0, 76.1, 73.7, 116.4,
106-
346.9, 355.0, 510.9, 130.4, 23.2, 98.8])
106+
346.9, 355.0, 268.2, 130.4, 23.2, 98.8])
107107
expected_times_32 = numpy.asarray([6.4, 14.7, 42.5, 66.5, 71,
108-
191.2, 199.0, 400.4, 119.5, 36.9, 67.2])
108+
191.2, 199.0, 201.9, 119.5, 36.9, 67.2])
109109

110110
# Number with just 1 decimal are new value that are faster with
111111
# the Theano version 0.5rc2 Other number are older. They are not
@@ -125,8 +125,8 @@ def speed():
125125
# 1.35324519 1.7356905 1.12937868]
126126

127127
expected_times_gpu = numpy.asarray([2.9, 7.55523491, 18.99226785,
128-
5.8, 20.0,
129-
11.2, 17.2, 244.3, 118.8, 34.2, 8.7])
128+
5.8, 19.2,
129+
11.2, 17.2, 122, 112.5, 31.1, 8.7])
130130
expected_times_64 = [s for idx, s in enumerate(expected_times_64)
131131
if to_exec[idx]]
132132
expected_times_32 = [s for idx, s in enumerate(expected_times_32)

0 commit comments

Comments
 (0)