提交 553afd8a authored 作者: Razvan Pascanu's avatar Razvan Pascanu

remove imports to cuda

上级 fcf84d8d
......@@ -31,7 +31,6 @@ from theano import tensor
from theano.tensor.opt import Shape_i
from theano.gradient import grad_undefined
from theano.gradient import DisconnectedType
#from theano.sandbox import cuda
from theano.compile.profiling import ScanProfileStats
import scan_utils
......@@ -803,8 +802,6 @@ class Scan(PureOp):
Y sequence outputs y_1, y_2, ... y_<self.n_outs>
"""
# In order to be able to allocate cuda ndarrays if needed
from theano.sandbox import cuda
# 1. Unzip the number of steps and sequences. If number of steps is
# negative flip sequences around, and make n_steps positive
t0_call = time.time()
......
......@@ -59,7 +59,6 @@ cimport numpy
from theano import gof
import time
import copy
from theano.sandbox import cuda
def get_version():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论