[QNN] How to decompose qnn.requantize into relay-only operators

If you are in python, you can just try

mod = relay.qnn.transform.CanonicalizeOps()(mod)

1 Like