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

Replace inputs.shape with ops.shape(inputs) in the layers #18836

Open
haifeng-jin opened this issue Nov 27, 2023 · 0 comments
Open

Replace inputs.shape with ops.shape(inputs) in the layers #18836

haifeng-jin opened this issue Nov 27, 2023 · 0 comments
Assignees
Labels
stat:awaiting keras-eng Awaiting response from Keras engineer type:feature The user is asking for a new feature.

Comments

@haifeng-jin
Copy link
Contributor

ops.shape(inputs) is more stable especially for the TensorFlow backend.
Some ops may lose the shape of the output tensor and contains a lot of Nones in the shape.
ops.shape(inputs) can get the actual value of those dims.

@haifeng-jin haifeng-jin self-assigned this Nov 27, 2023
@SuryanarayanaY SuryanarayanaY added type:feature The user is asking for a new feature. API design review API modifications. Needs discussion and approval from fchollet. labels Dec 13, 2023
@SuryanarayanaY SuryanarayanaY added the stat:awaiting keras-eng Awaiting response from Keras engineer label Jan 30, 2024
@haifeng-jin haifeng-jin removed the API design review API modifications. Needs discussion and approval from fchollet. label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting keras-eng Awaiting response from Keras engineer type:feature The user is asking for a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants