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

added an not used argumement to DebugMode.__init__ to have it accept the same…

added an not used argumement to DebugMode.__init__ to have it accept the same arguments as other Mode. This allow to work in more generic way.
上级 3783f48e
......@@ -1414,10 +1414,12 @@ class DebugMode(Mode):
check_c_code=None,
check_py_code=None,
check_isfinite=None,
require_matching_strides=None):
require_matching_strides=None,
linker=None):
"""Initialize member variables.
If any of these arguments (except optimizer) is not None, it overrides the class default.
The linker arguments is not used. It is set their to allow Mode.requiring() and some other fct to work with DebugMode too.
"""
super(DebugMode, self).__init__(
optimizer=optimizer,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论