提交 767f0d5a authored 作者: Reyhane Askari's avatar Reyhane Askari

added cycle_detection flag to travis

上级 eccac8d6
...@@ -55,17 +55,17 @@ matrix: ...@@ -55,17 +55,17 @@ matrix:
fast_finish: true fast_finish: true
include: include:
- python: "3.3" - python: "3.3"
env: PART="--exclude-dir=theano/tensor -e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE" env: PART="--exclude-dir=theano/tensor -e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE,cycle_detection='fast'"
- python: "3.3" - python: "3.3"
env: PART="theano/tensor --exclude-dir=theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE" env: PART="theano/tensor --exclude-dir=theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE,cycle_detection='fast'"
- python: "3.3" - python: "3.3"
env: PART="theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE" env: PART="theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE,cycle_detection='fast'"
- python: "2.7" - python: "2.7"
env: PART="--exclude-dir=theano/tensor -e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32" env: PART="--exclude-dir=theano/tensor -e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32,cycle_detection='fast'"
- python: "2.7" - python: "2.7"
env: PART="theano/tensor --exclude-dir=theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32" env: PART="theano/tensor --exclude-dir=theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32,cycle_detection='fast'"
- python: "2.7" - python: "2.7"
env: PART="theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32" env: PART="theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32,cycle_detection='fast'"
script: script:
- export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe - export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe
......
...@@ -106,7 +106,7 @@ class AddDestroyHandler(gof.Optimizer): ...@@ -106,7 +106,7 @@ class AddDestroyHandler(gof.Optimizer):
"how was this output left unprotected against " "how was this output left unprotected against "
"destructive operations?" "destructive operations?"
% o) % o)
except gof.InconsistencyError as e: except gof.InconsistencyError:
# This output is already impossible to destroy. # This output is already impossible to destroy.
# No guard necessary # No guard necessary
pass pass
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论