class_docstr: Double optimizer class for the Capacitron model.
class_docstr_tok: ["Double","optimizer","class","for","the","Capacitron","model","."]
code: def state_dict(self):
      return [
          self.primary_optimizer.state_dict(),
          self.secondary_optimizer.state_dict(),
      ]
  
file_path: TTS/TTS/utils/capacitron_optimizer.py
imports: from typing import Generator
  from trainer.trainer_utils import get_optimizer
label_desc: Use image node_id 6 for calling the CapacitronOptimizer obj's underlying member method code with example usage: obj.state_dict() and returns: list