文件名称:0001-mnistTensorFlow:CNN-卷积神经网络
文件大小:63.12MB
文件格式:ZIP
更新时间:2024-04-17 05:57:59
neural-network relu Python
使用Tensorflow的简单CNN 插入图片 卷积神经网络从mnist.dataset识别28x28像素图像中的数字 特征 from keras . datasets import mnist from keras . utils import to_categorical from keras . models import Sequential from keras . layers import Conv2D , Flatten , Dense keras.models.sequential keras.layers.Conv2D keras.layers.flatten keras.layers.Dense # initialize and compile model model = Sequential () model . add ( Conv2D ( 64 , kerne