changeset 932:b2a60af9cc28

removed shape argument from tensor constructor
author James Bergstra <bergstrj@iro.umontreal.ca>
date Thu, 15 Apr 2010 10:49:46 -0400
parents 34d1cd516f76
children ca9fc8cae5b5
files pylearn/dataset_ops/protocol.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/dataset_ops/protocol.py	Thu Apr 15 09:11:14 2010 -0400
+++ b/pylearn/dataset_ops/protocol.py	Thu Apr 15 10:49:46 2010 -0400
@@ -51,9 +51,11 @@
         single_type = theano.tensor.Tensor(
                 broadcastable=single_broadcastable, 
                 dtype=dtype)
+                #shape=single_shape)
         batch_type = theano.tensor.Tensor(
                 broadcastable=(False,)+single_type.broadcastable,
                 dtype=dtype)
+                #shape=(batch_size,)+single_type.shape)
         super(TensorDataset, self).__init__(single_type, batch_type)
 
 class TensorFnDataset(TensorDataset):