torch_dequantize: Dequantize

View source: R/wrapers.R

torch_dequantizeR Documentation

Dequantize

Description

Dequantize

Usage

torch_dequantize(tensor)

Arguments

tensor

(Tensor) A quantized Tensor or a list oof quantized tensors

dequantize(tensor) -> Tensor

Returns an fp32 Tensor by dequantizing a quantized Tensor

dequantize(tensors) -> sequence of Tensors

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


torch documentation built on May 29, 2024, 9:54 a.m.