# HG changeset patch # User Frederic Bastien # Date 1269266112 14400 # Node ID 3476044d73269f0cc795380ac436c550d1b0d2cd # Parent a5c33f01c9a460c5e4556ed5b48d39a0895c7907 removed old parameter that don't exist anymore. diff -r a5c33f01c9a4 -r 3476044d7326 pylearn/dataset_ops/protocol.py --- a/pylearn/dataset_ops/protocol.py Sat Mar 20 15:19:43 2010 -0400 +++ b/pylearn/dataset_ops/protocol.py Mon Mar 22 09:55:12 2010 -0400 @@ -50,12 +50,10 @@ single_broadcastable = tuple(single_broadcastable) single_type = theano.tensor.Tensor( broadcastable=single_broadcastable, - dtype=dtype, - shape=single_shape) + dtype=dtype) batch_type = theano.tensor.Tensor( broadcastable=(False,)+single_type.broadcastable, - dtype=dtype, - shape=(batch_size,)+single_type.shape) + dtype=dtype) super(TensorDataset, self).__init__(single_type, batch_type) class TensorFnDataset(TensorDataset):