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 _get_name(self, names, autonames):
      if self not in names and self.ntop > 0:
          names[self] = self._get_top_name(
              self.tops[0], names, autonames
          )
      elif self not in names:
          autonames[self.type_name] += 1
          names[self] = self.type_name + str(autonames[self.type_name])
      return names[self]
  
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 2 for calling the Function obj's underlying member method code with example usage: obj._get_name(names, autonames) and returns: names