parameters: (caffe_net, ext='png')
return_statement: return get_pydot_graph(caffe_net).create(format=ext)
docstring: Draws a caffe net and returns the image string encoded using the given
    extension.
  
    Input:
      caffe_net: a caffe.proto.caffe_pb2.NetParameter protocol buffer.
      ext: the image extension. Default 'png'.
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, ext='png'):
    """Draws a caffe net and returns the image string encoded using the given
    extension.
  
    Input:
      caffe_net: a caffe.proto.caffe_pb2.NetParameter protocol buffer.
      ext: the image extension. Default 'png'.
    """
    return get_pydot_graph(caffe_net).create(format=ext)
function_tokens: def draw_net ( caffe_net , ext = 'png' ) : return get_pydot_graph ( caffe_net ) . create ( format = ext )