Hi @JoeyChou I am not sure what you mean by int8 -> uint8 conversion.
If you want your conv2d and dense inputs and weights to be of specific data type, yes that is certainly possible with QNN Legalize pass. An example of this is for Intel VNNI instructions which prefer uint8 datatypes for feature maps and int8 for the weights. Naturally, the pre-quantized models might not follow this rule. So, QNNLegalize inserts requantize node before the conv2d and dense to satisfy the datatype restrictions.