Skip to content

fix vector_grad bugs#68

Merged
chaoming0625 merged 1 commit intomainfrom
update
Nov 25, 2024
Merged

fix vector_grad bugs#68
chaoming0625 merged 1 commit intomainfrom
update

Conversation

@chaoming0625
Copy link
Member

This pull request includes changes to the brainunit/autograd/_vector_grad.py and brainunit/autograd/_vector_grad_test.py files to improve the gradient computation and add new test cases. The most important changes are the modification of the gradient function to handle integer argnums correctly and the addition of a new test case for the vector gradient function.

Improvements to gradient computation:

Enhancements to test coverage:

@chaoming0625 chaoming0625 merged commit f90cba9 into main Nov 25, 2024
@chaoming0625 chaoming0625 deleted the update branch November 25, 2024 08:17
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