快捷方式

torch.dequantize

torch.dequantize(tensor) Tensor

透過對量化張量進行反量化,返回一個 fp32 張量

引數

tensor (Tensor) – 要反量化的量化張量

torch.dequantize(tensors) sequence of Tensors

給定一個量化張量列表,對它們進行反量化並返回一個 fp32 張量列表

引數

tensors (sequence of Tensors) – 要反量化的量化張量列表

文件

訪問 PyTorch 的綜合開發者文件

檢視文件

教程

獲取面向初學者和高階開發者的深度教程

檢視教程

資源

查詢開發資源並獲得問題解答

檢視資源