提交 4a6bbc03 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

formatting

上级 40a50668
...@@ -167,8 +167,8 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None, ...@@ -167,8 +167,8 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None,
if isinstance(updates, dict) and 'Ordered' not in str(type(updates)): if isinstance(updates, dict) and 'Ordered' not in str(type(updates)):
raise TypeError("Using a standard dictionary here results in " raise TypeError("Using a standard dictionary here results in "
"non-deterministic behavior. You should use an OrderedDict" "non-deterministic behavior. You should use an OrderedDict"
"if you are using python2.7 or use a list of (shared, update)" " if you are using python2.7 or use a list of (shared, update)"
"pairs. Do not just convert your dictionary to this type before" " pairs. Do not just convert your dictionary to this type before"
"the call as the conversion will still be non-deterministic.") "the call as the conversion will still be non-deterministic.")
if givens is None: if givens is None:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论