changeset 930:37ed715ac034

removed shape argument from tensor constructor
author James Bergstra <bergstrj@iro.umontreal.ca>
date Thu, 15 Apr 2010 10:49:46 -0400
parents 08b37147dec1
children 1c62fa857cab
files pylearn/dataset_ops/protocol.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/dataset_ops/protocol.py	Fri Mar 12 01:50:52 2010 -0500
+++ b/pylearn/dataset_ops/protocol.py	Thu Apr 15 10:49:46 2010 -0400
@@ -50,12 +50,12 @@
         single_broadcastable = tuple(single_broadcastable)
         single_type = theano.tensor.Tensor(
                 broadcastable=single_broadcastable, 
-                dtype=dtype,
-                shape=single_shape)
+                dtype=dtype)
+                #shape=single_shape)
         batch_type = theano.tensor.Tensor(
                 broadcastable=(False,)+single_type.broadcastable,
-                dtype=dtype,
-                shape=(batch_size,)+single_type.shape)
+                dtype=dtype)
+                #shape=(batch_size,)+single_type.shape)
         super(TensorDataset, self).__init__(single_type, batch_type)
 
 class TensorFnDataset(TensorDataset):