Skip to content

Conversation

MohamedMostafa259
Copy link

In Chapter 10's custom fit() method of MyClassificationHyperModel, the Normalization layer was used without calling .adapt(), which makes the normalization ineffective. This PR fixes it by adding norm_layer.adapt(X) before applying the layer.

@ageron
Copy link
Owner

ageron commented Oct 13, 2025

Thanks a lot for the PR, @MohamedMostafa259 . I merged another PR which fixed this as well.

@ageron ageron closed this Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants