I’m trying to inspect the parameters of a quantized model to see how they differ from a regular, non-quantized model. However, the .parameters()
call on a quantized model returns an empty list:
qmodel = torch.quantization.quantize_dynamic(MyCell(), {torch.nn.Linear}, dtype=torch.qint8)
list(qmodel.parameters())
returns:
[]
Is this expected? Is this because they don’t expect the weights to be trained anymore?
How can I see what the weight / bias values are?