提交 fb77d434 authored 作者: Frederic's avatar Frederic

Remove ordereddict warning from tutorial

上级 b1ad2e97
...@@ -52,7 +52,7 @@ The following output depicts the pre- and post- compilation graphs. ...@@ -52,7 +52,7 @@ The following output depicts the pre- and post- compilation graphs.
train = theano.function( train = theano.function(
inputs=[x, y], inputs=[x, y],
outputs=[prediction, xent], outputs=[prediction, xent],
updates={w: w - 0.01 * gw, b: b - 0.01 * gb}, updates=[(w, w - 0.01 * gw), (b, b - 0.01 * gb)],
name="train") name="train")
predict = theano.function(inputs=[x], outputs=prediction, predict = theano.function(inputs=[x], outputs=prediction,
name="predict") name="predict")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论