EnzymeAD / Reactant.jl

MIT License
26 stars 2 forks source link

Define `create_result` for `NamedTuple` #8

Closed avik-pal closed 2 weeks ago

avik-pal commented 1 month ago

Currently it errors if the result has a NamedTuple. All Lux models return a state (NamedTuple), so it would be nice to add a case for that.

avik-pal commented 1 month ago

Maybe https://github.com/EnzymeAD/Reactant.jl/pull/6/files already does this?