code: def _convert_sigmoid(node, graph, err):
      input_name = str(node.inputs[0])
      output_name = str(node.outputs[0])
      name = str(node.name)
  
      if input_name == output_name:
          inplace = True
      else:
          inplace = False
  
      layer = myf(
          "Sigmoid", name, [input_name], [output_name], in_place=inplace
      )
      # l_top_relu1 = L.ReLU(l_bottom, name=name, in_place=True)
  
      graph.channel_dims[output_name] = graph.channel_dims[input_name]
  
      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 5 for calling a global function with example usage: _convert_sigmoid(node, graph, err) and returns: layer