Skip to content

Conversation

@hoel-bagard
Copy link
Contributor

This PR adds the following layers:

Since the layers already present are not inheriting from Operation, I did not add it here either.

@hoel-bagard hoel-bagard changed the title tensorflow: add a few tf.keras.layers tensorflow: add Activation, GlobalAveragePooling2D and MaxPool2D tf.keras.layers Jan 19, 2026
@hoel-bagard hoel-bagard changed the title tensorflow: add Activation, GlobalAveragePooling2D and MaxPool2D tf.keras.layers tensorflow: add Activation, GlobalAveragePooling2D and MaxPool2D layers Jan 19, 2026
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 64f965e into python:main Jan 19, 2026
48 checks passed
@srittau
Copy link
Collaborator

srittau commented Jan 19, 2026

Since the layers already present are not inheriting from Operation, I did not add it here either.

I have no experience with tf, and I'm not sure why that is (possibly for historic reasons?), but this sounds like something that could be improved in the future.

@hoel-bagard hoel-bagard deleted the tf-layers branch January 19, 2026 08:35
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