def test_keras_import(self):
model = Sequential()
model.add(Conv2DTranspose(32, (3, 3), kernel_regularizer=regularizers.l2(0.01),
bias_regularizer=regularizers.l2(0.01),
activity_regularizer=regularizers.l2(0.01), kernel_constraint='max_norm',
bias_constraint='max_norm', activation='relu', input_shape=(1, 16, 16)))
model.build()
self.keras_param_test(model, 1, 13)
评论列表
文章目录