提交 6fc6d024 authored 作者: lamblin's avatar lamblin

Merge pull request #1135 from nouiz/py2.4

Py2.4
......@@ -198,6 +198,8 @@ if __name__ == "__main__":
(cuda version 3.2RC and up have a faster gemm on the Fermi/GTX[45]??)
gpu/cuda version
M2050(Amazon)/5.0 0.25s
GTX680/4.2 0.154s
GTX580/4.2 0.164s
GTX480/4.2 0.192s
......
......@@ -20,7 +20,7 @@ import theano
from theano import tensor
from theano.tensor import opt, get_constant_value
from theano import gof
from theano.gof.python25 import maxsize
from theano.gof.python25 import maxsize, any
from theano.gof.opt import Optimizer
from theano.gof import toolbox, DestroyHandler, InconsistencyError
from theano.compile import optdb
......
......@@ -732,7 +732,7 @@ class T_SharedRandomStreams(unittest.TestCase):
"""
Test that random state can be transferred from one theano graph to another.
"""
class Graph():
class Graph:
def __init__(self, seed=123):
self.rng = RandomStreams(seed)
self.y = self.rng.uniform(size=(1,))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论