class_docstr: The configuration class as stored in the ModelGraph.
  
  Args:
      config (dict):  The configuration dictionary
code: def get_layer_config_value(self, layer, key, default=None):
      hls_config = self.config["HLSConfig"]
  
      name_config = hls_config.get("LayerName", {}).get(
          layer.name, None
      )
      if name_config is not None:
          return name_config.get(key, default)
  
      type_config = hls_config.get("LayerType", {}).get(
          layer.class_name, None
      )
      if type_config is not None:
          return type_config.get(key, default)
  
      model_config = hls_config.get("Model", None)
      if model_config is not None:
          return model_config.get(key, default)
  
      return default
  
imports: import ctypes
  import os
  import platform
  from collections import OrderedDict
  import numpy
  import numpy.ctypeslib
  from hls4ml.backends import get_backend
  from hls4ml.model.flow import get_flow
  from hls4ml.model.layers import layer_map
  from hls4ml.model.optimizer import get_available_passes, optimize_model
label_desc: Use image node_id 5 for calling the HLSConfig obj's underlying member method code with example usage: obj.get_layer_config_value(layer, key, default) and returns: default, name_config, type_config, model_config