提交 2c227364 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

Comment is not useful anymore (we do not import cuda any longer)

上级 286b63f9
...@@ -578,12 +578,7 @@ def scan(fn, ...@@ -578,12 +578,7 @@ def scan(fn,
shared_inner_outputs) shared_inner_outputs)
if condition is not None: if condition is not None:
inner_outs.append(condition) inner_outs.append(condition)
# Cuda is imported here, instead of being imported on top of the file
# because forces on the user some dependencies that we might do not want
# to. Currently we are working on removing the dependencies on sandbox
# code completeley.
new_givens = {} new_givens = {}
for w, w_copy in givens.iteritems(): for w, w_copy in givens.iteritems():
new_givens[w] = w.type.filter_variable(w_copy) new_givens[w] = w.type.filter_variable(w_copy)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论