20200307

クロスエントロピー法を
使用:1。 文献[
1 2 参考2

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)

ビルドにgithubの

CIFAR10ピット
Cifar10 https://blog.csdn.net/mao_hui_fei/article/details/89520947

page40:tf.train.slice_input_producer

page46 :生成はTFRecordを読みます

リリース3元の記事 ウォンの賞賛0 ビュー38

おすすめ

転載: blog.csdn.net/weixin_44003682/article/details/104726560