LuxDL/Lux.jl

Preserve `init` functions for SimpleChains

Open

#582 opened on Apr 10, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (700 stars) (84 forks)batch import
enhancementgood first issue

Description

Currently we drop all of the init functions from the Lux models. However, for SciML Applications it is quite critical to support those. Proposed solution: Store the lux model along side the equivalent simple chains version. Instead of calling params on the simplechains model call initialparameters on the lux model and then flatten it.

Contributor guide