ucb-bar/onnxruntime-riscv

Refactoring: Use the recently added Relu int8 type

Offen

#25 geöffnet am 27.01.2021

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (37 Forks)auto 404
enhancementgood first issue

Repository-Metriken

Stars
 (93 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide