-
Notifications
You must be signed in to change notification settings - Fork 55
fix[autograd]: remove frequency summing in CustomMedium gradient and … #2430
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
Conversation
actually, there are a few other problematic spots in the medium file where we sum over frequency that need fixing. |
44f42a2
to
09b3488
Compare
going to fix this in a slightly different given the multiple other cases that came up, will update when I have that done! |
d602448
to
b106971
Compare
alright, rebased and cleaned a couple of things up, think this is ready for review now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @groberts-flex for fixing this! Looks great, only some minor comments.
b106971
to
a5e3c09
Compare
…select adjoint frequency
a5e3c09
to
14cb927
Compare
Based on a recent update for structure derivative computation, we now need to now sum over frequency in CustomMedium gradient computation because we are computing one frequency at a time (the iteration happens over frequency in autograd.py now).