code: def build_serving_modules(
      self,
      trainer_module: ReAgentLightningModule,
      normalization_data_map: Dict[str, NormalizationData],
  ):
      assert isinstance(trainer_module, DQNTrainer)
      serving_modules = {
          "default_model": self.build_serving_module(
              trainer_module, normalization_data_map
          )
      }
      if len(self.action_names) == 2:
          serving_modules.update(
              {
                  "binary_difference_scorer": self._build_binary_difference_scorer(
                      trainer_module.q_network, normalization_data_map
                  )
              }
          )
      if self.eval_parameters.calc_cpe_in_training:
          serving_modules.update(
              {
                  "reward_model": self.build_reward_module(
                      trainer_module, normalization_data_map
                  )
              }
          )
      return serving_modules
  
imports: import logging
  from typing import Dict, Optional
  import torch
  from reagent.core.dataclasses import dataclass, field
  from reagent.core.parameters import NormalizationData, NormalizationKey, param_hash
  from reagent.evaluation.evaluator import get_metrics_to_score
  from reagent.model_managers.discrete_dqn_base import DiscreteDQNBase
  from reagent.net_builder.discrete_dqn.dueling import Dueling
  from reagent.net_builder.discrete_dqn.fully_connected import FullyConnected
  from reagent.net_builder.unions import DiscreteDQNNetBuilder__Union
  from reagent.prediction.cfeval.predictor_wrapper import BanditRewardNetPredictorWrapper
  from reagent.reporting.discrete_dqn_reporter import DiscreteDQNReporter
  from reagent.training import DQNTrainer, DQNTrainerParameters, ReAgentLightningModule
  from reagent.training.dqn_trainer_base import DQNTrainerBaseLightning
  from reagent.workflow.types import RewardOptions
label_desc: Use image node_id 7 for calling the DiscreteDQN obj's underlying member method code with example usage: obj.build_serving_modules(trainer_module, normalization_data_map) and returns: serving_modules