提交 84bb365d authored 作者: Frederic Bastien's avatar Frederic Bastien

fix test.

上级 64d4ef85
......@@ -775,7 +775,7 @@ def test_argmax_pushdown():
env = gof.Env(
[x],
[tensor.max(softmax(tensor.exp(tensor.tanh(sigmoid(x)))))])
[tensor.argmax(softmax(tensor.exp(tensor.tanh(sigmoid(x)))))])
theano.compile.mode.optdb.query(
theano.compile.mode.OPT_FAST_RUN).optimize(env)
......@@ -792,7 +792,7 @@ def test_argmax_pushdown_bias():
env = gof.Env(
[x,b],
[tensor.max(softmax_with_bias(x, b))])
[tensor.argmax(softmax_with_bias(x, b))])
theano.compile.mode.optdb.query(
theano.compile.mode.OPT_FAST_RUN).optimize(env)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论