摘要:
theano入门教程1.21. 两个矩阵相加import theano.tensor as Tfrom theano import functionx = T.dmatrix('x')y = T.dmatrix('y')z = x + yf = function([x,y], z)f([2,3], [4,5])2 .logistic functionimport theano.tensor as ... 阅读全文
posted @ 2014-06-05 08:48
fireae
阅读(285)
评论(0)
推荐(0)
摘要:
theano 入门教程1.1两个标量相加import theano.tensor as Tfrom theano import functionx = T.dscalar('x')y = T.dscalar('y')z = x + yf = function([x,y], z)f(2, 3)1.x = T.dscalar('x')y = T.dscalar('y')先定义两个符号x,y,代表你想用... 阅读全文
posted @ 2014-06-05 08:48
fireae
阅读(606)
评论(0)
推荐(0)

浙公网安备 33010602011771号