Quantized unary ops benchmarking (mostly template)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/29503
Test Plan: Imported from OSS
Differential Revision: D18414589
Pulled By: z-a-f
fbshipit-source-id: ab5af490359b3e0a51642a46aef86f7be720deff