提交 de28d703 authored 作者: Nouiz's avatar Nouiz

fixed cifar example.

上级 e41ee606
...@@ -109,7 +109,7 @@ Real example ...@@ -109,7 +109,7 @@ Real example
# Declare Theano symbolic variables # Declare Theano symbolic variables
x = T.matrix("x") x = T.matrix("x")
y = T.vector("y") y = T.vector("y")
w = theano.shared(rng.randn(100), name="w") w = theano.shared(rng.randn(feats), name="w")
b = theano.shared(0., name="b") b = theano.shared(0., name="b")
print "Initial model:" print "Initial model:"
print w.get_value(), b.get_value() print w.get_value(), b.get_value()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论