Closed tkf closed 5 years ago
I needed to overload Zygote.literal_getproperty to support differentiation through objects with customized Base.getproperty. It would be nice if its definition is moved to ZygoteRules.jl so that this can be done without importing whole Zyogte.
Zygote.literal_getproperty
Base.getproperty
Zyogte
Seem fair -- happy to accept a patch.
Thank you! I opened #5.
and https://github.com/FluxML/Zygote.jl/pull/332
I needed to overload
Zygote.literal_getproperty
to support differentiation through objects with customizedBase.getproperty
. It would be nice if its definition is moved to ZygoteRules.jl so that this can be done without importing wholeZyogte
.