提交 4f2676a0 authored 作者: James Bergstra's avatar James Bergstra

added question for Fred in comment (test_blas.py)

上级 86216b11
......@@ -603,8 +603,12 @@ def test_dot22scalar():
#currently the canonizer don't always merge all Mul together...
#that force the optimizer to make a recursive search witch it don't do now.
#but it do it for 1 level of recursion.
# assert _dot22scalar in [x.op for x in topo]
# assert len(topo)==2
# assert _dot22scalar in [x.op for x in topo]
# assert len(topo)==2
### Fred,
### What are you talking about?
### -James (March 28 2010)
f(av,bv,cv)
f = theano.function([a,b,c],c * a*0.2*T.dot(a,b),mode=m2)
topo = f.maker.env.toposort()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论