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

remove imports to cuda

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