code: def optimizer_config(self, request, training_configs_learning_rate):
      optimizer_config = request.param
  
      # set optim and params to training config
      training_configs_learning_rate.encoder_optimizer_cls = (
          optimizer_config["encoder_optimizer_cls"]
      )
      training_configs_learning_rate.encoder_optimizer_params = (
          optimizer_config["encoder_optimizer_params"]
      )
      training_configs_learning_rate.decoder_optimizer_cls = (
          optimizer_config["decoder_optimizer_cls"]
      )
      training_configs_learning_rate.decoder_optimizer_params = (
          optimizer_config["decoder_optimizer_params"]
      )
  
      return optimizer_config
  
imports: import os
  from copy import deepcopy
  import pytest
  import torch
  from pythae.models import RAE_L2, RAE_L2_Config
  from pythae.trainers import CoupledOptimizerTrainer, CoupledOptimizerTrainerConfig
  from tests.data.custom_architectures import *
label_desc: Use image node_id 4 for calling the Test_Build_Optimizer obj's underlying member method code with example usage: obj.optimizer_config(request, training_configs_learning_rate) and returns: optimizer_config