labels=[[0,0,1],[0,1,0]]
logits=[[2,0.5,6],[0.1,0,3]]
logits_scaled=tf.nn.softmax(logits) # Implemenation of tf.nn.softmax_cross_entropy_with_logits
result1=-tf.reduce_sum(labels*tf.log(logits_scaled),1)
CIFAR10 坑
Cifar10 https://blog.csdn.net/mao_hui_fei/article/details/89520947
page40: tf.train.slice_input_producer
page46: TFRecord生成与读取