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

Better user information.

上级 ebdb8e99
...@@ -1715,10 +1715,12 @@ theano.configparser.AddConfigVar('experimental.local_alloc_elemwise', ...@@ -1715,10 +1715,12 @@ theano.configparser.AddConfigVar('experimental.local_alloc_elemwise',
is_valid=lambda x: x is_valid=lambda x: x
), ),
in_c_key=False) in_c_key=False)
#This version if faster but not as safe.
theano.configparser.AddConfigVar('experimental.local_alloc_elemwise_assert', # False could make the graph faster but not as safe.
"If False enable the experimental optimization local_alloc_elemwise" theano.configparser.AddConfigVar(
" but WITHOUT assert into the graph!", 'experimental.local_alloc_elemwise_assert',
"When the local_alloc_elemwise is applied, add"
" an assert to highlight shape errors.",
theano.configparser.BoolParam(True), theano.configparser.BoolParam(True),
in_c_key=False) in_c_key=False)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论