code: def parse_concat_layer(
      operation,
      layer_name,
      input_names,
      input_shapes,
      node,
      class_object,
      data_reader,
      config,
  ):
      assert operation in concat_layers
  
      layer = {}
      layer["class_name"] = "Concatenate"
      layer["name"] = layer_name
      layer["op"] = "concatenate"
      layer["inputs"] = input_names
  
      if len(layer["inputs"]) > 2:
          raise Exception(
              "ERROR: Merging more than two tensors is not yet supported."
          )
  
      rank = len(input_shapes[0][1:])
      if rank > 3:
          raise Exception(
              "ERROR: Concatenation of tensors with rank > 3 is not yet supported."
          )
      layer["op"] = layer["class_name"].lower() + f"{rank}d"
      layer["axis"] = node.kwargs.get("dim", 0)
  
      output_shape = input_shapes[0][:]
      output_shape[layer["axis"]] += input_shapes[1][layer["axis"]]
  
      return layer, output_shape
  
label_desc: Use image node_id 1 for calling a global function with example usage: parse_concat_layer(operation, layer_name, input_names, input_shapes, node, class_object, data_reader, config) and returns: layer,  output_shape