[DL]MNIST handwritten digit processing by TensorFlow

2021-5-19 写技术

import tensorflow.examples.tutorials.mnist.input_data as input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) import tensorflow as tf x = tf.placeholder("float", [None, 784]) w = tf.Variable(tf.zeros([784, 10])) b = tf.Variable(tf.zeros([10])) y = tf.nn.softmax(tf.matmul...

阅读全文>>

标签: DL

评论(0) 浏览(1100)

Powered by anycle 湘ICP备15001973号-1