提交 76c0c7c0 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Python2.4 compatibility fix

上级 8e56ea6c
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#C=a*C+dot(A,B)*b #C=a*C+dot(A,B)*b
#A,B,C matrix #A,B,C matrix
#a,b scalar #a,b scalar
import os
s=""" s="""
result for shapes=(2000,2000) and iters=100 result for shapes=(2000,2000) and iters=100
...@@ -11,11 +10,16 @@ GTX 470 7.22s ...@@ -11,11 +10,16 @@ GTX 470 7.22s
GTX 285, 6.84s GTX 285, 6.84s
GTX 480 5.83s GTX 480 5.83s
""" """
import sys
import theano,numpy,time import os, sys, time
import numpy
import theano
import theano.tensor as T import theano.tensor as T
from theano.gof.python25 import any
shapes=(2000,2000) shapes=(2000,2000)
iters = 10 iters = 10
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论