Optimum 文件

為不受支援的架構新增支援

您正在檢視的是需要從原始碼安裝如果您想要常規的 `pip install`,請檢視最新的穩定版本 (v1.27.0)。
Hugging Face's logo
加入 Hugging Face 社群

並獲得增強的文件體驗

開始使用

為不支援的架構新增支援

如果您希望匯出一個庫中尚未支援的架構模型,可以參考 PR #813 Adds support for ResNet

您可以透過執行以下命令確保新 `my_new_modeltype` 模型型別的測試透過:

pytest tests/exporters/tflite/test_*.py -k "my_new_modeltype" -s --exitfirst
< > 在 GitHub 上更新

© . This site is unofficial and not affiliated with Hugging Face, Inc.