parameters: (caffe_net, rankdir, ext='png')
return_statement: return get_pydot_graph(caffe_net, rankdir).create(format=ext)
docstring: Draws a caffe net and returns the image string encoded using the given
      extension.
  
      Parameters
      ----------
      caffe_net : a caffe.proto.caffe_pb2.NetParameter protocol buffer.
      ext : string, optional
          The image extension (the default is 'png').
  
      Returns
      -------
      string :
          Postscript representation of the graph.
docstring_summary: Draws a caffe net and returns the image string encoded using the given
      extension.
docstring_tokens: Draws a caffe net and returns the image string encoded using the given extension .
function: def draw_net(caffe_net, rankdir, ext='png'):
      """Draws a caffe net and returns the image string encoded using the given
      extension.
  
      Parameters
      ----------
      caffe_net : a caffe.proto.caffe_pb2.NetParameter protocol buffer.
      ext : string, optional
          The image extension (the default is 'png').
  
      Returns
      -------
      string :
          Postscript representation of the graph.
      """
      return get_pydot_graph(caffe_net, rankdir).create(format=ext)
function_tokens: def draw_net ( caffe_net , rankdir , ext = 'png' ) : return get_pydot_graph ( caffe_net , rankdir ) . create ( format = ext )