import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
mnist=input_data.read_data_sets('MNIST_data',one_hot=True)
batch_size=100
n_batch=mnist.train.num_examples//batch_size
with tf.name_scope('input'):
x=tf.placeholder(tf.float32,[None,784],name='x_input')
y=tf.placeholder(tf.float32,[None,10],name='y_input'
利用Tensorboard可视化网络结构
最新推荐文章于 2024-05-30 10:57:46 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)