class_docstr: A Layers object is a pseudo-module which generates functions that specify
  layers; e.g., Layers().Convolution(bottom, kernel_size=3) will produce a Top
  specifying a 3x3 convolution applied to bottom.
class_docstr_tok: ["A","Layers","object","is","a","pseudo-module","which","generates","functions","that","specify","layers",";","e.g.",",","Layers","(",")",".Convolution","(","bottom",",","kernel_size=3",")","will","produce","a","Top","specifying","a","3x3","convolution","applied","to","bottom","."]
code: def __getattr__(self, name):
      def layer_fn(*args, **kwargs):
          fn = Function(name, args, kwargs)
          return fn
  
      return layer_fn
  
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 for calling the Layers obj's underlying member method code with example usage: obj.__getattr__(name) and returns: layer_fn, fn