预量化深度学习模型在ONNX中编码,以实现硬件/软件协同设计
Pre-Quantized Deep Learning Models Codified in ONNX to Enable Hardware/Software Co-Design
摘要:
本文提出了一种方法,通过标准ONNX格式的预量化深度学习模型描述,将量化过程与特定于硬件的模型编译阶段分开。将量化过程与模型编译阶段分开,可以实现独立开发。该方法表达了特定于硬件的操作,并将关键量化参数嵌入到ONNX模型中,从而实现硬件/软件协同设计。详细的例子都给出了MLP和CNN为基础的网络,它可以扩展到其他网络在一个简单的方式。
英文摘要:
This paper presents a methodology to separate the quantization process from the hardware-specific model compilation stage via a pre-quantized deep learning model description in standard ONNX format. Separating the quantization process from the model compilation stage enables independent development. The methodology is expressive to convey hardware-specific operations and to embed key quantization parameters into a ONNX model which enables hardware/software co-design. Detailed examples are given for both MLP and CNN based networks, which can be extended to other networks in a straightforward fashion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。