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

[GAN] #5 Refactor Magic Numbers: Replace Magic Numbers with Constants #5

Open
veeradi34 opened this issue Oct 17, 2024 · 0 comments
Open
Labels
documentation Improvements or additions to documentation GAN

Comments

@veeradi34
Copy link
Contributor

Description: There are several magic numbers used throughout the code (e.g., 28, 32, 8). These should be replaced with named constants for better readability and maintainability.

Tasks:
Identify magic numbers in the code.
Create constants at the top of the file (e.g., IMAGE_SIZE = 28) and use them in the code.

@veeradi34 veeradi34 added documentation Improvements or additions to documentation GAN labels Oct 18, 2024
@tushroy81 tushroy81 changed the title #5 Refactor Magic Numbers: Replace Magic Numbers with Constants [GAN] #5 Refactor Magic Numbers: Replace Magic Numbers with Constants Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation GAN
Projects
None yet
Development

No branches or pull requests

1 participant