tensorflow-onnx icon indicating copy to clipboard operation
tensorflow-onnx copied to clipboard

How i can replace DynamicQuantizeLinear and DequantizeLinear

Open Onichan410 opened this issue 2 years ago • 1 comments

Ask a Question

Question

I have model here is graph Снимок экрана 2023-02-19 в 18 19 18. I can't use quantize graph in my environment (Unity Baracuda 3.0). How can i replace it?

Further information

I tried to set opset 10 and it deletes all quantaze nodes. Opset 13 doesn't work on Unity Baracuda.

Onichan410 avatar Feb 19 '23 17:02 Onichan410

I think the graph you gave is an ONNX graph. Do you mean you want to remove both DynamicQuantizeLinear and DequantizeLinear nodes from it? Or replace them with QuantizeLinear and DequantizeLinear pair?

fatcat-z avatar Feb 27 '23 16:02 fatcat-z