Skip to content

Commit

Permalink
Tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Nov 27, 2024
1 parent e1d423c commit e0f61ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/src/layers/preprocessing/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def adapt(self, data):
) * batch_weight
total_mean = new_total_mean
else:
raise NotImplementedError(type(data))
raise NotImplementedError(f"Unsupported data type: {type(data)}")

self.adapt_mean.assign(total_mean)
self.adapt_variance.assign(total_var)
Expand Down

0 comments on commit e0f61ee

Please sign in to comment.