QuantizePerTensor ================= Converts a float tensor to a quantized tensor with given scale and zero point. **Abstract Signature:** ``QuantizePerTensor(input: Tensor, scale: float, zero_point: int, dtype)`` .. raw:: html
torch.quantize_per_tensor
—
tf.quantization.quantize