ucb-bar/onnxruntime-riscv

Refactoring: Use the recently added Relu int8 type

Aperta

#25 aperta il 27 gen 2021

 (1 commento) (0 reazioni) (0 assegnatari)C++ (37 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (93 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Currently we emit our own QLinearRelu type in the quantizer and do fusing based off of this. This was done to work around a previous deficiency in ONNX operators that Relu did not support int8. I recently submitted a PR to add Relu support which was recently merged in: https://github.com/onnx/onnx/pull/3141

We can now emit and use this type.

Guida contributor