W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
別名:
tf.lite.toco_convert(
input_data,
input_tensors,
output_tensors,
*args,
**kwargs
)
定義在:tensorflow/lite/python/convert.py。
使用TOCO轉換模型。(棄用)
警告:此功能已被棄用。它將在以后的版本中刪除。更新說明:改為使用lite.TFLiteConverter
。通常,此函數(shù)用于將TensorFlow GraphDef轉換為TFLite。可以通過提供轉發(fā)到build_toco_convert_protos的參數(shù)來自定義轉換。此功能已被棄用。請改用lite.TFLiteConverter。
參數(shù):
返回:
轉換后的數(shù)據(jù)。例如,如果TFLite是目的地,那么這將是字節(jié)數(shù)組中的tflite flatbuffer。
可能引發(fā)的異常:
定義在build_toco_convert_protos。
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: