Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keras.layers.normalization deprecated #16

Open
sqing73 opened this issue Jun 2, 2024 · 1 comment
Open

keras.layers.normalization deprecated #16

sqing73 opened this issue Jun 2, 2024 · 1 comment

Comments

@sqing73
Copy link

sqing73 commented Jun 2, 2024

from keras.layers.normalization import BatchNormalization
could be changed to
from tensorflow.keras.layers import BatchNormalization

@jonkrohn
Copy link
Member

Yep, you're right! For the sake of consistency with the book, I'm going to leave it as-is in this particular repo, but you can see the updated (TensorFlow 2.x) code that uses the tensorflow.keras. nomenclature in the newer, analogous repo here.

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

No branches or pull requests

2 participants