提交 d512bc1a authored 作者: Frederic's avatar Frederic

better doc of new print_active_device theano flag.

上级 b9ea74d1
......@@ -161,6 +161,14 @@ import theano and print the config variable, as in:
Theano initialize the GPU device. Newer version of PyCUDA
(currently only in the trunk) don't have this restriction.
.. attribute:: config.print_active_device
Bool value: either ``True`` or ``False``
Default: ``True``
Print active device at when the GPU device is initialized.
.. attribute:: floatX
String value: either 'float64' or 'float32'
......
......@@ -76,7 +76,7 @@ AddConfigVar('force_device',
in_c_key=False)
AddConfigVar('print_active_device',
"Print active device at startup",
"Print active device at when the GPU device is initialized.",
BoolParam(True, allow_override=False),
in_c_key=False)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论