Tensorflow(1.15.0)利用全连接网络将图片进行分类
#-*- codeing = utf-8 -*-#@Time :2021/5/16 19:02#@Author :Onion#@File :MnistByHidden_Layers.py#@Software :PyCharm# 利用全连接网络将图片进行分类import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_datatf.compat.v1.disable_eager_execution()