How to exclude submodule's parameters for a outer module?

Same question here. Check this how-to-exclude-parameters-from-model. Wrap it in a list can solve but also will lose effects when using something like to("cuda").