← Questions

Quantize a float tensor to int8

0
NvidiaCodingLast asked Sep 2026

Convert an FP32 tensor to INT8 with a given scale, rounding and clamping correctly. Then add asymmetric quantization with a zero point, and explain how you would choose scale and zero point for a skewed distribution.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding