Typically this function is used to convert from TensorFlow GraphDef to TFLite.
Conversion can be customized by providing arguments that are forwarded to
build_toco_convert_protos (see documentation for details). This function has
been deprecated. Please use lite.TFLiteConverter instead.
Input data (i.e. often sess.graph_def),
List of input tensors. Type and shape are computed using
foo.shape and foo.dtype.
List of output tensors (only .name is used from this).
The converted data. For example if TFLite was the destination, then
this will be a tflite flatbuffer in a bytes array.