class_docstr: Double optimizer class for the Capacitron model.
class_docstr_tok: ["Double","optimizer","class","for","the","Capacitron","model","."]
code: def load_state_dict(self, state_dict):
      self.primary_optimizer.load_state_dict(state_dict[0])
      self.secondary_optimizer.load_state_dict(state_dict[1])
  
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 5 for calling the CapacitronOptimizer obj's underlying member method code with example usage: obj.load_state_dict(state_dict) without return types