提交 0e773298 authored 作者: Hengjean's avatar Hengjean 提交者: Frederic

Removed ipdb import

上级 543a7812
...@@ -1196,7 +1196,6 @@ class FunctionMaker(object): ...@@ -1196,7 +1196,6 @@ class FunctionMaker(object):
opt_time = optimize_graph(fgraph) opt_time = optimize_graph(fgraph)
print 'opt took %s'%opt_time print 'opt took %s'%opt_time
import ipdb; ipdb.set_trace()
if profile: if profile:
profile.optimizer_time += opt_time profile.optimizer_time += opt_time
if theano.config.profile_optimizer: if theano.config.profile_optimizer:
......
...@@ -34,7 +34,6 @@ def test_graph_equivalence(): ...@@ -34,7 +34,6 @@ def test_graph_equivalence():
# This does not work. # This does not work.
assert is_same_graph(g1_y, g1_y) assert is_same_graph(g1_y, g1_y)
assert is_same_graph(g1_y, g1_yy) assert is_same_graph(g1_y, g1_yy)
import ipdb; ipdb.set_trace()
assert is_same_graph(g1_y, g3_y, givens={g1_a: g3_a, g1_b: g3_b}) assert is_same_graph(g1_y, g3_y, givens={g1_a: g3_a, g1_b: g3_b})
l1 = theano.gof.graph.inputs([g1_y]) l1 = theano.gof.graph.inputs([g1_y])
l2 = theano.gof.graph.inputs([g3_y]) l2 = theano.gof.graph.inputs([g3_y])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论