code: def _convert_concat(node, graph, err):
      node_name = node.name
      input_name_list = [str(i) for i in node.inputs]
      output_name = str(node.outputs[0])
      axis = node.attrs.get("axis", 1)
  
      layer = myf(
          "Concat", node_name, input_name_list, [output_name], axis=axis
      )
      if axis == 1:
          dim = 0
          for name in input_name_list:
              dim += graph.channel_dims[name]
          graph.channel_dims[output_name] = dim
      else:
          graph.channel_dims[output_name] = graph.channel_dims[
              input_name_list[0]
          ]
  
      return layer
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from caffe import params
  import math
  import numpy
  from ._graph import Node, Graph
  from MyCaffe import Function
label_desc: Use image node_id 18 for calling a global function with example usage: _convert_concat(node, graph, err) and returns: layer