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

Improve Model.layers setter error message #20890

Open
nikolasavic3 opened this issue Feb 10, 2025 · 0 comments
Open

Improve Model.layers setter error message #20890

nikolasavic3 opened this issue Feb 10, 2025 · 0 comments
Assignees

Comments

@nikolasavic3
Copy link
Contributor

nikolasavic3 commented Feb 10, 2025

Current error message for Model.layers setter is ambiguous and doesn't explain how to properly handle layers.

Current:
Model.layers attribute is reserved and should not be used. Please use another name.”

Proposed:
Model.layers is a read-only property. Use Model.add() to add new layers.”

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 a pull request may close this issue.

2 participants