linear
- class torch.ao.nn.quantized.functional.linear(input, weight, bias=None, scale=None, zero_point=None)
Applies a linear transformation to the incoming quantized data: . See
Applies a linear transformation to the incoming quantized data: . See
input (Tensor) – Quantized input of type torch.quint8
weight (Tensor) – Quantized weight of type torch.qint8
bias (Tensor) – None or fp32 bias of type torch.float
scale (double) – output scale. If None, derived from the input scale
zero_point (python:long) – output zero point. If None, derived from the input zero_point
Input: where * means any number of additional dimensions
Weight:
Bias:
Output: