code: def initialize_optimizer(self, config: OptimizerConfig):
          
          self.module.init_optimizer(kvstore=config.kvstore,
                                     optimizer=config.name,
                                     optimizer_params=config.params,
                                     force_init=True)
docs: Initializes the optimizer of the underlying module with an optimizer config.