Rate this Page
★ ★ ★ ★ ★

torch.Tensor.q_scale#

Tensor.q_scale() → float#

Given a Tensor quantized by linear(affine) quantization, returns the scale of the underlying quantizer().