parameters: (*tops)
return_statement: return net
docstring: Generate a NetParameter that contains all layers needed to compute
      all arguments.
docstring_summary: Generate a NetParameter that contains all layers needed to compute
      all arguments.
docstring_tokens: Generate a NetParameter that contains all layers needed to compute all arguments .
function: def to_proto(*tops):
      """Generate a NetParameter that contains all layers needed to compute
      all arguments."""
  
      layers = OrderedDict()
      autonames = Counter()
      for top in tops:
          top.fn._to_proto(layers, {}, autonames)
      net = caffe_pb2.NetParameter()
      net.layer.extend(layers.values())
      return net
function_tokens: def to_proto ( * tops ) : layers = OrderedDict ( ) autonames = Counter ( ) for top in tops : top . fn . _to_proto ( layers , { } , autonames ) net = caffe_pb2 . NetParameter ( ) net . layer . extend ( layers . values ( ) ) return net