# HG changeset patch # User Pascal Lamblin # Date 1256589183 14400 # Node ID 1bdfef116a61e141224507b47081692b81bc6a86 # Parent e7d1dd6a9785192490e79e3df90cefd0e402e911 Small type fix diff -r e7d1dd6a9785 -r 1bdfef116a61 pylearn/dataset_ops/cifar10.py --- a/pylearn/dataset_ops/cifar10.py Sun Oct 25 17:15:31 2009 -0400 +++ b/pylearn/dataset_ops/cifar10.py Mon Oct 26 16:33:03 2009 -0400 @@ -88,7 +88,7 @@ x_fn, y_fn = split_options[split] x_op = TensorFnDataset(dtype, (False,), (x_fn, (dtype,)), (3072,)) - y_op = TensorFnDataset(dtype, (), y_fn) + y_op = TensorFnDataset('int32', (), y_fn) x = x_op(s_idx) y = y_op(s_idx)