Rate this Page

torch.dequantize#

torch.dequantize(tensor)Tensor#

Returns an fp32 Tensor by dequantizing a quantized Tensor

Parameters

tensor (Tensor) – A quantized Tensor

torch.dequantize(tensors)sequenceofTensors

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

Parameters

tensors (sequence ofTensors) – A list of quantized Tensors