python theano库学习(1)
import theano
import theano.tensor as T
rng = numpy.random
N = 400
feats = 784
//D[0]是一个服从正态分布的400x784的随机矩阵。D[1]是取值为0或1的400x1的随机矩阵
D = (rng.randn(N, feats), rng.randint(size=N, low=0, high=2))
training
原创
2016-01-14 15:35:49 ·
377 阅读 ·
0 评论