例がそれをより明確にすることを願っています (これは Logistic Regression オブジェクトであり、Theano Tensor ライブラリは T としてインポートされます)
def __init__(self, input, n_in, n_out):
#Other code...
self.p_y_given_x = T.nnet.softmax(T.dot(input, self.W) + self.b)
メインでダウンと呼ばれるものは...
def main():
x = T.matrix()
classifier = LogisticRegression(input=x, n_in=28 * 28, n_out=10)
これらのスニペットだけでは理解できない場合、コードはこのページの「Putting it All Together」の下にあります - http://deeplearning.net/tutorial/logreg.html#logreg