[Quant] Templatize activationLimits function (#71220)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71220
This is to allow using this function for uint8 as well as int8
Test Plan:
buck test caffe2/test:quantization
This primarily tests T=uint8
Reviewed By: kimishpatel
Differential Revision: D33520713
fbshipit-source-id: 9640cf0a446e4c4e76887d643d72b767945bae76