code: def _convert_to_dot_list(self, opts):
      if opts is None:
          opts = []
  
      if len(opts) == 0:
          return opts
  
      # Support equal e.g. model=visual_bert for better future hydra support
      has_equal = opts[0].find("=") != -1
  
      if has_equal:
          return opts
  
      return [
          (opt + "=" + value)
          for opt, value in zip(opts[0::2], opts[1::2])
      ]
  
imports: import collections
  import json
  import logging
  import os
  import warnings
  from ast import literal_eval
  from typing import List
  import torch
  from mmf.common.registry import registry
  from mmf.utils.env import import_user_module
  from mmf.utils.file_io import PathManager
  from mmf.utils.general import get_absolute_path, get_mmf_root
  from omegaconf import DictConfig, errors, OmegaConf
label_desc: Use image node_id 15 for calling the Configuration obj's underlying member method code with example usage: obj._convert_to_dot_list(opts) and returns: unknown, opts, opts