We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c839df2 commit 1842d4dCopy full SHA for 1842d4d
keras/src/layers/layer_test.py
@@ -1765,6 +1765,7 @@ def test_quantized_model_save_and_load(self):
1765
inputs = layers.Input(shape=(None,))
1766
x = layers.Embedding(input_dim=10, output_dim=10)(inputs)
1767
x = layers.Dense(10)(x)
1768
+ x = layers.BatchNormalization()(x) # Add batchnorm
1769
model = models.Model(inputs=inputs, outputs=x)
1770
path = os.path.join(self.get_temp_dir(), "quantized_model.keras")
1771
model.quantize(mode="int8")
0 commit comments