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

Use type of primal output in convert in chain rules #114

Closed
wants to merge 1 commit into from

Conversation

gaurav-arya
Copy link
Contributor

@gaurav-arya gaurav-arya commented Aug 9, 2023

Resolves #115 but not #112 (real-to-complex plans are not tested by Zygote anyway, since Zygote's rules for them are incorrect, so this does fix upstream).

@gaurav-arya gaurav-arya changed the title Use type of primal output in scale convert Use type of primal output in convert in chain rules Aug 9, 2023
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.04% ⚠️

Comparison is base (ee9f1b8) 93.57% compared to head (f961902) 93.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
- Coverage   93.57%   93.54%   -0.04%     
==========================================
  Files           5        5              
  Lines         420      418       -2     
==========================================
- Hits          393      391       -2     
  Misses         27       27              
Files Changed Coverage Δ
ext/AbstractFFTsChainRulesCoreExt.jl 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Reverse rules for real FFTs do not support Zygote.OneElement
1 participant