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

updated codebase #6

Merged
merged 3 commits into from
Jun 18, 2024
Merged

updated codebase #6

merged 3 commits into from
Jun 18, 2024

Conversation

muaddibusulll
Copy link
Contributor

updated codebase

Copy link
Owner

@wkcn wkcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @muaddibusulll , thank you for the contribution to this repo!

I have a feedback in BatchNorm.py, and others look good to me : )

@property
def grads(self):
return [self.dW, self.db]
dvar = np.sum(np.multiply(dnx, xsm), self.valid_axes, keepdims=True) * (-0.5) * np.power(self.nd, 3.0)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these lines removed? The update of dX, dW and db, as well as the functions params and grads should be kept.

@wkcn wkcn merged commit 6fcef88 into wkcn:master Jun 18, 2024
1 check passed
@wkcn
Copy link
Owner

wkcn commented Jun 18, 2024

The PR has been merged. Thank you for your contribution!

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