comparison baseline/conv_mlp/convolutional_mlp.py @ 205:10a801240bfc

Merge
author fsavard
date Thu, 04 Mar 2010 08:21:43 -0500
parents 168aae8a6419
children a491d3600a77
comparison
equal deleted inserted replaced
204:e1f5f66dd7dd 205:10a801240bfc
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 """