提交 944aeb52 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Merge pull request #1182 from nouiz/py2.4

fix syntax error in python 2.4
......@@ -696,7 +696,7 @@ def test_random_state_transfer():
"""
Test that random state can be transferred from one theano graph to another.
"""
class Graph():
class Graph:
def __init__(self, seed=123):
self.rng = MRG_RandomStreams(seed)
self.y = self.rng.uniform(size=(1,))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论