提交 0f3d6829 authored 作者: Frederic Bastien's avatar Frederic Bastien

clarify error message.

上级 e2e65f54
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论