code: def format(self, node):
      params = self._default_function_params(node)
      params["data_format"] = (
          "cf"
          if node.get_attr("data_format") == "channels_first"
          else "cl"
      )
  
      return self.templates[node.class_name].format(**params)
  
imports: from hls4ml.backends.template import FunctionCallTemplate, LayerConfigTemplate
  from hls4ml.model.layers import Resize, Transpose, ZeroPadding1D, ZeroPadding2D
label_desc: Use image node_id 2 for calling the ZeroPaddingFunctionTemplate obj's underlying member method code with example usage: obj.format(node) and returns: self