提交 aaf82d6a authored 作者: Michael Osthege's avatar Michael Osthege 提交者: Brandon T. Willard

Register scan-related configvars from the scan module

上级 35513e07
...@@ -2247,8 +2247,6 @@ add_blas_configvars() ...@@ -2247,8 +2247,6 @@ add_blas_configvars()
add_metaopt_configvars() add_metaopt_configvars()
add_vm_configvars() add_vm_configvars()
add_deprecated_configvars() add_deprecated_configvars()
# TODO: another example for config that should be added by the module itself:
add_scan_configvars()
# TODO: `gcc_version_str` is used by other modules.. Should it become an immutable config var? # TODO: `gcc_version_str` is used by other modules.. Should it become an immutable config var?
try: try:
......
...@@ -47,6 +47,11 @@ __authors__ = ( ...@@ -47,6 +47,11 @@ __authors__ = (
__copyright__ = "(c) 2010, Universite de Montreal" __copyright__ = "(c) 2010, Universite de Montreal"
__contact__ = "Razvan Pascanu <r.pascanu@gmail>" __contact__ = "Razvan Pascanu <r.pascanu@gmail>"
from theano import configdefaults
configdefaults.add_scan_configvars()
from theano.scan import opt from theano.scan import opt
from theano.scan.basic import scan from theano.scan.basic import scan
from theano.scan.checkpoints import scan_checkpoints from theano.scan.checkpoints import scan_checkpoints
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论