提交 b98cf45b authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix the config type.

上级 4434fae5
...@@ -375,7 +375,7 @@ AddConfigVar('dnn.enabled', ...@@ -375,7 +375,7 @@ AddConfigVar('dnn.enabled',
" to not using it if not present." " to not using it if not present."
" If True and cuDNN can not be used, raise an error." " If True and cuDNN can not be used, raise an error."
" If False, disable cudnn", " If False, disable cudnn",
StrParam("auto", "True", "False"), EnumStr("auto", "True", "False"),
in_c_key=False) in_c_key=False)
# This flag determines whether or not to raise error/warning message if # This flag determines whether or not to raise error/warning message if
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论