I type quantized_model.state_dict()[‘model_fp32.conv1.weight’].q_scale()
*** RuntimeError: Expected quantizer->qscheme() == kPerTensorAffine to be true, but got false.  (Could this error message be improved?  If so, please report an enhancement request to PyTorch.)
The data_structure shows: Tensor quantization_scheme=torch.per_channel_affine
What’s wrong with that?
I can print out the int_repr() with dtype = torch.int8
Thanks,
Stephen