class_docstr: The configuration class as stored in the ModelGraph.
  
  Args:
      config (dict):  The configuration dictionary
code: def _validate_hls_config(self):
      use_dataflow = False
      if (
          self.pipeline_style.lower() == "pipeline"
          and self.model_compression
      ):
          print(
              'WARNING: Compression enabled while pipeline style set to "pipeline".'
          )
          use_dataflow = True
      for layer_type, strategy in self.layer_type_strategy.items():
          if (
              strategy.lower() == "resource"
              and self.pipeline_style.lower() == "pipeline"
          ):
              print(
                  'WARNING: Strategy for layer type {} set to "Resource", while pipeline style set to "pipeline".'.format(
                      layer_type
                  )
              )
              use_dataflow = True
  
      for layer_name, strategy in self.layer_name_strategy.items():
          if (
              strategy.lower() == "resource"
              and self.pipeline_style.lower() == "pipeline"
          ):
              print(
                  'WARNING: Strategy for layer {} set to "Resource", while pipeline style set to "pipeline".'.format(
                      layer_name
                  )
              )
              use_dataflow = True
  
      for (
          layer_type,
          compression,
      ) in self.layer_type_compression.items():
          if compression and self.pipeline_style.lower() == "pipeline":
              print(
                  'WARNING: Compression enabled for layer type {}, while pipeline style set to "pipeline".'.format(
                      layer_type
                  )
              )
              use_dataflow = True
  
      for (
          layer_name,
          compression,
      ) in self.layer_name_compression.items():
          if compression and self.pipeline_style.lower() == "pipeline":
              print(
                  f'WARNING: Compression enabled for layer {layer_name}, while pipeline style set to "pipeline".'
              )
              use_dataflow = True
  
      if self.model_strategy.lower() == "resource":
          use_dataflow = True
  
      if use_dataflow:
          print('WARNING: Changing pipeline style to "dataflow".')
          self.pipeline_style = "dataflow"
  
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 16 for calling the HLSConfig obj's underlying member method code with example usage: obj._validate_hls_config() without return types