code: def test_linear_quantizer_config_different_config_success():
      config_dict = {
          "global_config": {"quantization_scheme": "affine"},
          "module_name_configs": {
              "conv1": {"quantization_scheme": "affine"},
              "conv2": {"quantization_scheme": "affine"},
          },
          "module_type_configs": {
              nn.Linear: {"quantization_scheme": "affine"}
          },
      }
      LinearQuantizerConfig.from_dict(config_dict)
  
file_path: coremltools/coremltools/test/optimize/torch/quantization/test_quantizer.py
imports: from collections import OrderedDict
  import cattrs
  import pytest
  import torch
  import torch.ao.quantization
  import torch.nn
  import torch.nn.intrinsic
  import torch.nn.intrinsic.qat
  import torch.nn.quantized
  import torch.nn.quantized.modules.utils
  from coremltools.optimize.torch.quantization import LinearQuantizer, LinearQuantizerConfig, ModuleLinearQuantizerConfig
label_desc: Use image node_id 4 for calling a global function with example usage: test_linear_quantizer_config_different_config_success() without return types