class_docstr: A container class that stores op meta data.
  
  The class has the following attributes:
  
  Parameters
  ----------
  op_type: str
      The type of the op. For instance: ``conv``, ``linear``, and so on.
  
  name: str
      The name of the op.
  
  params_name_mapping: dict[str, str]
      A dict that maps the op's constant parameters to its corresponding weight name.
      For instance, given a ``conv`` op with ``params_name_mapping``,
  
      .. sourcecode:: python
  
          {
              "weight": "conv_1_weight",
              "bias": "conv_1_bias",
          }
  
      means that the weight and bias of this op are named ``conv_1_weight``,  ``conv_1_bias``, respectively.
class_docstr_tok: ["A","container","class","that","stores","op","meta","data",".","The","class","has","the","following","attributes",":","Parameters","--","--","--","--","--","op_type",":","str","The","type","of","the","op",".","For","instance",":","``","conv","``",",","``","linear","``",",","and","so","on",".","name",":","str","The","name","of","the","op",".","params_name_mapping",":","dict","[","str",",","str","]","A","dict","that","maps","the","op","'s","constant","parameters","to","its","corresponding","weight","name",".","For","instance",",","given","a","``","conv","``","op","with","``","params_name_mapping","``",",","..","sourcecode",":",":","python","{","``","weight","''",":","``","conv_1_weight","''",",","``","bias","''",":","``","conv_1_bias","''",",","}","means","that","the","weight","and","bias","of","this","op","are","named","``","conv_1_weight","``",",","``","conv_1_bias","``",",","respectively","."]
code: def __str__(self):
      res = f"{self.op_type}(name={self.name}"
      for k, v in self.params_name_mapping.items():
          res += f", {k}={v}"
      res += ", ...)"
      return res
  
imports: from collections import OrderedDict
  from typing import Callable, Dict, List, Optional
  import numpy
  from attrs import define, field, validators
  from tqdm import tqdm
  from coremltools import _SPECIFICATION_VERSION_IOS_16
  from coremltools.converters.mil.converter import mil_convert
  from coremltools.converters.mil.frontend.milproto import load
  from coremltools.converters.mil.mil.passes.defs.quantization import AbstractQuantizationPass
  from coremltools.models import MLModel
  from coremltools.optimize.coreml import OptimizationConfig
  from coremltools.optimize.coreml._config import _MetaDataDict
  from ._quantization_passes import WeightDecompressor
  from ._quantization_passes import linear_quantize_weights
  from ._quantization_passes import palettize_weights
  from ._quantization_passes import prune_weights
label_desc: Use image node_id 1 for calling the CoreMLOpMetaData obj's underlying member method code with example usage: obj.__str__() and returns: res