提交 09992057 authored 作者: ChienliMa's avatar ChienliMa

change indent

上级 af1f4045
...@@ -594,7 +594,7 @@ class Function(object): ...@@ -594,7 +594,7 @@ class Function(object):
input_storage = [] input_storage = []
for i in maker.inputs: for i in maker.inputs:
storage = getattr(i, 'value', None) storage = getattr(i, 'value', None)
if isinstance(i.variable, theano.tensor.Constant) or\ if isinstance(i.variable, theano.tensor.Constant) or \
not i.mutable: not i.mutable:
input_storage.append(storage) input_storage.append(storage)
else: else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论