Wrong parameter names when nesting Modules within flax transformations #3747
Labels
Priority: P2 - no schedule
Best effort response and resolution. We have no plan to work on this at the moment.
Hi, I have a complex case where I nest different submodules inside each other, which results in what I think is a wrong parameter name.
MWE:
I would expect the network parameter to be stored as a dictionary of the subnetwork's structure, as follows:
but instead the parameters of the subnetwork are split in two blocks.
We noticed that the bug disappears if the
some_args
dictionary is removed, and the keyword arguments are passed directly.cc @Adrien-Kahn
The text was updated successfully, but these errors were encountered: