code: def get_share_qparams_ops(backend_config: _BackendConfig):
      """
      Returns list of ops which share qparams with input.
      """
  
      configs = (
          backend_config._pattern_complex_format_to_config
          if _is_torch_2()
          else backend_config.configs
      )
  
      return [
          op
          for op in configs
          if configs[op].observation_type
          == _ObservationType.OUTPUT_SHARE_OBSERVER_WITH_INPUT
      ]
  
imports: import operator
  from collections import defaultdict
  from enum import Enum
  from typing import Dict
  from typing import List
  from typing import Optional
  import torch
  import torch.ao.quantization
  import torch.fx
  from torch.ao.quantization.backend_config import BackendConfig
  from torch.ao.quantization.backend_config import ObservationType
  from coremltools.optimize.torch._utils.version_utils import is_torch_2
label_desc: Use image node_id 12 for calling a global function with example usage: get_share_qparams_ops(backend_config) and returns: unknown