ONNX

維基百科,自由的百科全書
Open Neural Network Exchange (ONNX)
原作者Facebook, Microsoft
開發者Linux基金會
首次發布2017年9月,​6年前​(2017-09
當前版本
  • 1.16.0 (2024年3月25日;穩定版本)[1]
編輯維基數據鏈接
源代碼庫 編輯維基數據鏈接
編程語言C++, Python
操作系統Windows, Linux
類型人工智能生態圈
許可協議最初為MIT許可證
後改為Apache許可證2.0
網站onnx.ai/ 編輯維基數據

ONNX(英語:Open Neural Network Exchange)是一種針對機器學習所設計的開放式的文件格式,用於存儲訓練好的模型。它使得不同的人工智能框架(如Pytorch、MXNet)可以採用相同格式存儲模型數據並交互。 ONNX的規範及代碼主要由微軟亞馬遜FacebookIBM等公司共同開發,以開放源代碼的方式託管在Github上。[2][3][4]  目前官方支持加載ONNX模型並進行推理的深度學習框架有: Caffe2, PyTorch, MXNet,ML.NET,TensorRT 和 Microsoft CNTK,並且 TensorFlow 也非官方的支持ONNX。

歷史[編輯]

ONNX最初被命名為Toffee[5],並且由臉書內發布PyTorch的團隊開發。[6] 在2017年,ONNX第一個正式版本由臉書與微軟共同發布。在此之後,IBM, 華為, 英特爾, AMD, Arm高通 都宣布計劃支持ONNX。

參考文獻[編輯]

  1. ^ 1.0 1.1 Release 1.16.0. 2024年3月25日 [2024年4月23日]. 
  2. ^ onnx: Open Neural Network Exchange, onnx, [2017-09-11], (原始內容存檔於2017-09-09) 
  3. ^ Microsoft, Facebook Partner on AI Framework Interoperability. 
  4. ^ Model Server for Apache MXNet introduces ONNX support and Amazon CloudWatch integration. [8 February 2018]. (原始內容存檔於2019-02-17). 
  5. ^ Codemod Toffee -> ONNX, toffee -> onnx. Change file names to match · pytorch/pytorch@6d8d5ba. GitHub. [2021-10-12]. (原始內容存檔於2021-10-27) (英語). 
  6. ^ A model exporter for PyTorch by ezyang · Pull Request #2565 · pytorch/pytorch. GitHub. [2021-10-12]. (原始內容存檔於2021-10-27) (英語).