Motivation
Similar to #3249, I'm hoping to continue fleshing out the trainers framework to include config dataclasses for the modules I am using. The next one I have found to be missing for my needs is TanhModuleConfig.
Solution
PR proposal here: #3255
Alternatives
This is a fairly straightforward feature. Not sure there is a need for alternatives
Additional context
Checklist