ucb-bar/onnxruntime-riscv

Refactoring: Use the recently added Relu int8 type

Open

#25 opened on Jan 27, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (37 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (93 stars)
PR merge metrics
 (PR metrics pending)

Description

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