torch.dequantize

torch.dequantize(tensor) → Tensor

Returns an fp32 Tensor by dequantizing a quantized Tensor

Parameters

tensor (Tensor) – A quantized Tensor

torch.dequantize(tensors) → sequence of Tensors

Given a list of quantized Tensors, dequantize them and return a list of fp32 Tensors

Parameters

tensors (sequence of Tensors) – A list of quantized Tensors

© 2019 Torch Contributors
Licensed under the 3-clause BSD License.
https://pytorch.org/docs/1.8.0/generated/torch.dequantize.html