提交 6334f287 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

I have updated the comment to something more sensible

上级 516dced0
...@@ -812,7 +812,7 @@ def scan( fn ...@@ -812,7 +812,7 @@ def scan( fn
other_scan_args += [ arg for arg in non_seqs other_scan_args += [ arg for arg in non_seqs
if not isinstance(arg, SharedVariable) ] if not isinstance(arg, SharedVariable) ]
## Step 5.6 all shared variables with no update rules ## Step 5.6 all non sequences including shared variables with no update rules
def new_variable( v ): def new_variable( v ):
if isinstance(new_variable, tensor.Constant): if isinstance(new_variable, tensor.Constant):
return v.clone() return v.clone()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论