提交 ea371710 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Function descriptions should be triple quoted (to avoid syntax errors).

上级 c4aa5545
...@@ -164,10 +164,10 @@ def AddConfigVar(name, doc, configparam, root=config): ...@@ -164,10 +164,10 @@ def AddConfigVar(name, doc, configparam, root=config):
class ConfigParam(object): class ConfigParam(object):
def __init__(self, default, filter=None, allow_override=True): def __init__(self, default, filter=None, allow_override=True):
" """
If allow_override is False, we can't change the value after the import of Theano. If allow_override is False, we can't change the value after the import of Theano.
So the value should be the same during all the execution So the value should be the same during all the execution
" """
self.default = default self.default = default
self.filter=filter self.filter=filter
self.allow_override = allow_override self.allow_override = allow_override
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论