Keras官方文档: A Keras model has two modes: training and testing. Regularization mechanisms, such as Dropout and L1/L2 weight regularization, are turned off at testing time. Keras模型有两种模式:训练和测试。 在测试时关闭正常化机制&…
#猜数字游戏
import random #impor语句导入random模块
guessor0;print("#"*30) #输出30个”#“(”##############################“)用于装饰输出代码,同下
print("hello! \nwhat is you name?") #“\n”换行
print(&q…