fix cifar10 onehot, and pep8
change dtype
make one_hot none
Merge pull request #1033 from memimo/onehotfix

Fix cifar10 onehot, and pep8