comparison baseline/conv_mlp/convolutional_mlp.py @ 207:43af74a348ac

Merge branches from main repo.
author Arnaud Bergeron <abergeron@gmail.com>
date Thu, 04 Mar 2010 20:43:21 -0500
parents 168aae8a6419
children a491d3600a77
comparison
equal deleted inserted replaced
206:e12702b88a2d 207:43af74a348ac
24 import numpy, theano, cPickle, gzip, time 24 import numpy, theano, cPickle, gzip, time
25 import theano.tensor as T 25 import theano.tensor as T
26 import theano.sandbox.softsign 26 import theano.sandbox.softsign
27 import pylearn.datasets.MNIST 27 import pylearn.datasets.MNIST
28 from pylearn.io import filetensor as ft 28 from pylearn.io import filetensor as ft
29 from theano.sandbox import conv, downsample 29 from theano.tensor.signal import downsample
30 from theano.tensor.nnet import conv
30 31
31 class LeNetConvPoolLayer(object): 32 class LeNetConvPoolLayer(object):
32 33
33 def __init__(self, rng, input, filter_shape, image_shape, poolsize=(2,2)): 34 def __init__(self, rng, input, filter_shape, image_shape, poolsize=(2,2)):
34 """ 35 """