code: def _convert_Reshape(node, graph, err):
      node_name = node.name
      input_name = str(node.inputs[0])
      output_name = str(node.outputs[0])
      if len(node.inputs) == 1:
          shape = tuple(node.attrs.get("shape", ()))
      else:
          shape = tuple(node.input_tensors[node.inputs[1]])
      # if shape == ():
  
      # print('reshape to', shape)
  
      if input_name == output_name:
          inplace = True
      else:
          inplace = False
  
      graph.channel_dims[output_name] = shape[1]
      layer = myf(
          "Reshape",
          node_name,
          [input_name],
          [output_name],
          reshape_param=dict(shape=dict(dim=list(shape))),
      )
      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 9 for calling a global function with example usage: _convert_Reshape(node, graph, err) and returns: layer