利用tensorflow.keras创建四层神经网络并绘制loss和accuracy曲线,打印和生成神经网络模型图
importtensorflowastffromtensorflowimportkerasfromtensorflow.keras.modelsimportSequential#引入引入网络模型fromtensorflow.keras.layersimportDense,Dropout#引入全连接层,输出层,激活器fromtensorflow.keras.optimizersimportSGD#随