摘要:
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,代表你想用... 阅读全文
摘要:
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 ... 阅读全文