提交 1b7b218a authored 作者: James Bergstra's avatar James Bergstra

scan - whitespace and punctuation

上级 b05eda1e
......@@ -97,9 +97,6 @@ def compareArrays(a,b):
return numpy.all( abs(a-b) < 1e-5)
class T_Scan(unittest.TestCase):
def setUp(self):
utt.seed_rng()
......@@ -371,7 +368,7 @@ class T_Scan(unittest.TestCase):
Y, updts = theano.scan(f_pow2, [],[], [],n_steps = n_steps)
f1 = theano.function([n_steps], Y, updates = updts)
f1(3)
assert(compareArrays(s.value, 8))
assert compareArrays(s.value, 8)
'''
# test gradient simple network
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论