提交 53f85bab authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fix stacklevel

上级 5237b952
......@@ -174,7 +174,8 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None,
"non-deterministic behavior. You should use an OrderedDict"
" if you are using Python 2.7, or use a list of (shared, update)"
" 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.",
stacklevel=2)
if givens is None:
givens = []
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论