class_docstr: A Function specifies a layer, its parameters, and its inputs (which
  are Tops from other layers).
class_docstr_tok: ["A","Function","specifies","a","layer",",","its","parameters",",","and","its","inputs","(","which","are","Tops","from","other","layers",")","."]
code: def __init__(self, type_name, layer_name, inputs, outputs, **params):
      self.type_name = type_name
      self.inputs = inputs
      self.outputs = outputs
      self.params = params
      self.layer_name = layer_name
      self.ntop = self.params.get("ntop", 1)
      # use del to make sure kwargs are not double-processed as layer params
      if "ntop" in self.params:
          del self.params["ntop"]
      self.in_place = self.params.get("in_place", False)
      if "in_place" in self.params:
          del self.params["in_place"]
  
file_path: insightface/tools/onnx2caffe/MyCaffe.py
imports: from collections import OrderedDict, Counter
  from caffe.proto import caffe_pb2
  from google import protobuf
  import six
label_desc: Use image node_id 1 to create a new Function object from inherited base classes: object with example: obj = Function(type_name, layer_name, inputs, outputs)