comparison baseline/conv_mlp/convolutional_mlp.py @ 196:168aae8a6419

Fix import errors (conv and downsample are no longer in sandbox).
author Arnaud Bergeron <abergeron@gmail.com>
date Tue, 02 Mar 2010 18:03:09 -0500
parents d37c944133c3
children a491d3600a77
comparison
equal deleted inserted replaced
195:92c9a6c48ce9 196:168aae8a6419
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 """