Skip to content

Commit

Permalink
Fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Dec 12, 2024
1 parent aab9458 commit 5b2ba9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras/src/layers/preprocessing/normalization_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ def test_tf_data_compatibility(self):
output.numpy()

def test_normalization_with_scalar_mean_var(self):
input_data = np.array([[1,2,3]], dtype='float32')
layer = layers.Normalization(mean=3., variance=2.)
input_data = np.array([[1, 2, 3]], dtype="float32")
layer = layers.Normalization(mean=3.0, variance=2.0)
layer(input_data)

0 comments on commit 5b2ba9a

Please sign in to comment.