[quant][graphmode][fix] preserve the type of original value when inserting dequant node (#34349)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34349
Set the output type of dequantize node to the type of original value
this is to fix swap dequantize tensor list
Test Plan:
.
Imported from OSS
Differential Revision: D20504456
fbshipit-source-id: 9064d7d598a4310e27e2914a072097526448a02c