提交 277c6755 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fixes

上级 64caa5e0
...@@ -1547,10 +1547,10 @@ class GCC_compiler(object): ...@@ -1547,10 +1547,10 @@ class GCC_compiler(object):
if len(native_lines) != 1: if len(native_lines) != 1:
_logger.warn( _logger.warn(
"OPTIMIZATION WARNING: Theano was not able to find the" "OPTIMIZATION WARNING: Theano was not able to find the"
" g++ parameter that tune the compilation to your specific" " g++ parameters that tune the compilation to your "
" CPU. This can slow down the execution of Theano" " specific CPU. This can slow down the execution of Theano"
" function. Can you submit the following lines to" " functions. Please submit the following lines to"
" Theano's mailing list such that we fix this" " Theano's mailing list so that we can fix this"
" problem:\n %s", native_lines) " problem:\n %s", native_lines)
else: else:
default_lines = get_lines("g++ -E -v -") default_lines = get_lines("g++ -E -v -")
...@@ -1558,11 +1558,11 @@ class GCC_compiler(object): ...@@ -1558,11 +1558,11 @@ class GCC_compiler(object):
if len(default_lines) < 1: if len(default_lines) < 1:
_logger.warn( _logger.warn(
"OPTIMIZATION WARNING: Theano was not able to find the" "OPTIMIZATION WARNING: Theano was not able to find the"
" default g++ parameter. This is needed to tune" " default g++ parameters. This is needed to tune"
" the compilation to your specific" " the compilation to your specific"
" CPU. This can slow down the execution of Theano" " CPU. This can slow down the execution of Theano"
" function. Can you submit the following lines to" " functions. Please submit the following lines to"
" Theano's mailing list such that we fix this" " Theano's mailing list so that we can fix this"
" problem:\n %s", " problem:\n %s",
get_lines("g++ -E -v -", parse=False)) get_lines("g++ -E -v -", parse=False))
else: else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论