提交 e18787c3 authored 作者: James Bergstra's avatar James Bergstra 提交者: Frederic

Supress warns when inplace CBLAS opts create cycle

上级 00225377
...@@ -471,5 +471,6 @@ optdb.register('c_blas_destructive', ...@@ -471,5 +471,6 @@ optdb.register('c_blas_destructive',
make_c_ger_destructive, make_c_ger_destructive,
make_c_gemv_destructive, make_c_gemv_destructive,
], ],
failure_callback=EquilibriumOptimizer.warn_inplace,
max_use_ratio=5), max_use_ratio=5),
70.0, 'fast_run', 'inplace', 'c_blas') 70.0, 'fast_run', 'inplace', 'c_blas')
...@@ -29,6 +29,7 @@ from test_basic import (_approx_eq, as_tensor_variable, inplace_func, ...@@ -29,6 +29,7 @@ from test_basic import (_approx_eq, as_tensor_variable, inplace_func,
#, constant, eval_outputs) #, constant, eval_outputs)
import theano.tensor.blas_scipy import theano.tensor.blas_scipy
if config.mode == 'FAST_COMPILE': if config.mode == 'FAST_COMPILE':
mode_not_fast_compile = 'FAST_RUN' mode_not_fast_compile = 'FAST_RUN'
else: else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论