# HG changeset patch # User James Bergstra # Date 1271342986 14400 # Node ID b2a60af9cc28976345c312dd3ab8fc0b80ab70b4 # Parent 34d1cd516f762874e6ba3c8646013bf2f8cd2d7e removed shape argument from tensor constructor diff -r 34d1cd516f76 -r b2a60af9cc28 pylearn/dataset_ops/protocol.py --- 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):