Mercurial > pylearn
changeset 850:1bdfef116a61
Small type fix
author | Pascal Lamblin <lamblinp@iro.umontreal.ca> |
---|---|
date | Mon, 26 Oct 2009 16:33:03 -0400 |
parents | e7d1dd6a9785 |
children | ab7d598f5579 |
files | pylearn/dataset_ops/cifar10.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)