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を読みます