code: def test_linear_quantizer_config_failure_modes(config_dict):
      with pytest.raises(Exception):
          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 3 for calling a global function with example usage: test_linear_quantizer_config_failure_modes(config_dict) without return types