class_docstr: The configuration class as stored in the ModelGraph.
  
  Args:
      config (dict):  The configuration dictionary
code: def get_reuse_factor(self, layer):
      rf = self.layer_name_rf.get(layer.name.lower())
      if rf is None:
          rf = self.layer_type_rf.get(layer.class_name.lower())
      if rf is None:
          rf = self.model_rf
  
      if rf is None:
          raise Exception(
              f"No reuse factor for {layer.name} found and no default specified."
          )
  
      return rf
  
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 9 for calling the HLSConfig obj's underlying member method code with example usage: obj.get_reuse_factor(layer) and returns: rf