提交 5bb6abe5 authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Merge pull request #5516 from nouiz/err_msg

clarify error message.
...@@ -500,7 +500,7 @@ def use(device, ...@@ -500,7 +500,7 @@ def use(device,
""" """
global cuda_enabled, cuda_initialization_error_message global cuda_enabled, cuda_initialization_error_message
_logger.warn("The cuda backend is deprecated and will be removed in " _logger.warn("The cuda backend is deprecated and will be removed in "
"the next release. Please switch to the gpuarray backend. " "the next release (v0.10). Please switch to the gpuarray backend. "
"You can get more information about how to switch at this " "You can get more information about how to switch at this "
"URL:\n https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29\n") "URL:\n https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29\n")
if force and not cuda_available and device.startswith('gpu'): if force and not cuda_available and device.startswith('gpu'):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论