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 (84 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (700 stars)
PR merge metrics
 (Avg merge 13d 21h) (2 merged PRs in 30d)

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