dfdx / XGrad.jl

eXpression gradients in Julia
Other
3 stars 4 forks source link

TrackedStruct #19

Open dfdx opened 6 years ago

dfdx commented 6 years ago

In order to support differentiating structs using tracked method we need to introduce a new type - TrackedStruct - with the only supported method getfield (maybe getproperty in Julia 0.7).