提交 9ddb5e24 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fix format string for python < 3

上级 3098ee05
...@@ -1679,4 +1679,4 @@ AddConfigVar( ...@@ -1679,4 +1679,4 @@ AddConfigVar(
# Check if there are remaining flags provided by the user through THEANO_FLAGS. # Check if there are remaining flags provided by the user through THEANO_FLAGS.
for key in THEANO_FLAGS_DICT.keys(): for key in THEANO_FLAGS_DICT.keys():
warnings.warn('Theano does not recognise this flag: {}'.format(key)) warnings.warn('Theano does not recognise this flag: {0}'.format(key))
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论