提交 43947ed9 authored 作者: Frederic Bastien's avatar Frederic Bastien

new theano flags: `warn.old_bug_default`. When set to false disable all warning…

new theano flags: `warn.old_bug_default`. When set to false disable all warning about old theano bug.
上级 53b270b6
......@@ -107,19 +107,23 @@ AddConfigVar('experimental.mrg',
###
### To disable some warning about old bug that are fixed now.
###
AddConfigVar('warn.old_bug_default',
"If False, will disable by default the warning about old Theano bug. If you never used Theano, you set it to False.",
BoolParam(True))
default_warn = config.warn.old_bug_default
AddConfigVar('warn.argmax_pushdown_bug',
"Warn if in past version of Theano we generated a bug with the optimisation theano.tensor.nnet.nnet.local_argmax_pushdown optimization. Was fixed 27 may 2010",
BoolParam(True))
BoolParam(default_warn))
AddConfigVar('warn.gpusum_01_011_0111_bug',
"Warn if we are in a case where old version of Theano had a silent bug with GpuSum pattern 01,011 and 0111 when the first dimensions was bigger then 4096. Was fixed 31 may 2010",
BoolParam(True))
BoolParam(default_warn))
AddConfigVar('warn.sum_sum_bug',
"Warn if we are in a case where Theano version between version 9923a40c7b7a and the 2 august 2010(fixed date), generated an error in that case. This happen when their is 2 consecutive sum in the graph, bad code was generated. Was fixed 2 August 2010",
BoolParam(True))
BoolParam(default_warn))
AddConfigVar('warn.sum_div_dimshuffle_bug',
"Warn if previous versions of Theano (between rev. 3bd9b789f5e8, 2010-06-16, and cfc6322e5ad4, 2010-08-03) would have given incorrect result. This bug was triggered by sum of division of dimshuffled tensors.",
BoolParam(True))
BoolParam(default_warn))
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论