ann.add(Dense(units=12, input_dim=12, activation = 'relu')) # 添加输入层 ann.add(Dense(units=24, activation = 'relu')) # 添加隐层 ann.add(Dense(units=48, activation = 'relu')) # 添加隐层 ann.add(Dense(units=96, activation = 'relu')) # 添加隐层 ann.add(Dense(units=192, activation = 'relu')) # 添加隐层 ann.add(Dense(units=1, activation = 'sigmoid')) # 添加输出层