Trying to get CIFAR-10 dataset into a tensor

Main site
https://www.cs.toronto.edu/~kriz/cifar.html

Best explanation
https://towardsdatascience.com/cifar-10-image-classification-in-tensorflow-5b501f7dc77c






airplane : 0
automobile : 1
bird : 2
cat : 3
deer : 4
dog : 5
frog : 6
horse : 7
ship : 8
truck : 9