pytorch
8d31706b - [ONNX] Support restricted quantized range for activation.

Commit
2 years ago
[ONNX] Support restricted quantized range for activation. PyTorch restricts activations to be in the range (0, 127). In ONNX, the supported ranges are (0, 255) and (-128, 127), respectfully, uint8 and int8. This PR extends support for range (0, 127), by adding additional clipping when detected. Pull Request resolved: https://github.com/pytorch/pytorch/pull/76055 Approved by: https://github.com/garymm
Author
Committer
Parents
Loading