fastmachinelearning / qonnx

QONNX: Arbitrary-Precision Quantized Neural Networks in ONNX
https://qonnx.readthedocs.io/
Apache License 2.0
124 stars 39 forks source link

Add proper support for Binarized and binary neural nets in the QKeras converter #141

Open jurevreca12 opened 2 months ago

jurevreca12 commented 2 months ago

This PR cleans up some of the QKeras2QONNX converter code and inserts BinaryQuant nodes instead of Quant nodes for qkeras.binary instances. This PR should follow PR: #139.

As this changes the nodes created by the converter it could affect downstream users.

Questions: