changeset 921:3476044d7326

removed old parameter that don't exist anymore.
author Frederic Bastien <nouiz@nouiz.org>
date Mon, 22 Mar 2010 09:55:12 -0400
parents a5c33f01c9a4
children 568066b9c5a3
files pylearn/dataset_ops/protocol.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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):