torch.Tensor.q_zero_point
- Tensor.q_zero_point() int
Given a Tensor quantized by linear(affine) quantization, returns the zero_point of the underlying quantizer().
Given a Tensor quantized by linear(affine) quantization, returns the zero_point of the underlying quantizer().