trainableParameters

Collect all trainable parameters for this module and its subtree. Trainable is defined by ModuleParameter.requiresGrad flag.