class_docstr: An abstract class for the compressor configuration
class_docstr_tok: ["An","abstract","class","for","the","compressor","configuration"]
docstr: An abstract method that construct an OpCompressorConfig from a dictionary.
  It must be implemented in the child class.
code: def _from_dict(
      cls, config_dict: Dict[str, Any]
  ) -> "OpCompressorConfig":
      """
      An abstract method that construct an OpCompressorConfig from a dictionary.
      It must be implemented in the child class.
      """
      raise ValueError(
          "_from_dict must be implemented in the subclasses of OpCompressorConfig."
      )
  
imports: import sys
  from abc import ABC, abstractmethod
  from collections import OrderedDict
  from typing import IO, Any, Callable, Dict, Optional, Tuple, Union
  import cattrs
  import numpy
  import yaml
  from attrs import define, field, validators
  from coremltools.converters.mil.mil import Operation, types
  from coremltools.converters.mil.mil.types.type_mapping import is_builtin, numpy_type_to_builtin_type
label_desc: Use image node_id 2 for calling the OpCompressorConfig obj's underlying member method code with example usage: obj._from_dict(cls, config_dict) without return types