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

Fix _broadcast_in_dim_prim_grad #2

Closed
wants to merge 1 commit into from

Conversation

rdspring1
Copy link
Owner

When the dim tuple is empty, torch.sum reduces all dimensions. However, for the broadcast_in_dim gradient function, we do not want to reduce any dimensions.

@rdspring1 rdspring1 closed this Apr 27, 2024
@github-actions github-actions bot deleted the fix_bcast_in_dim branch July 28, 2024 00:12
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.

1 participant