Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Skip ADing propagation if the value being pulled back is a AbstractZero #202

Open
oxinabox opened this issue Jul 2, 2021 · 0 comments
Open

Comments

@oxinabox
Copy link
Member

oxinabox commented Jul 2, 2021

Follow up from https://github.com/invenia/Nabla.jl/pull/189/files#r662148541
when going back along the tape
if ȳ isa AbstractZero we know x̄=ȳ since pullbacks are linear operators, so we can just skip that step

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant