code: def format(self, node):
      params = self._default_config_params(node)
      return self.templates[node.class_name].format(**params)
  
file_path: hls4ml/hls4ml/backends/quartus/passes/pooling_templates.py
imports: from hls4ml.backends.template import FunctionCallTemplate, LayerConfigTemplate
  from hls4ml.model.layers import GlobalPooling1D, GlobalPooling2D, Pooling1D, Pooling2D
label_desc: Use image node_id 2 for calling the PoolingConfigTemplate obj's underlying member method code with example usage: obj.format(node) and returns: self