[nnc][quantization] Optimize constructTensors in ext functions (#69856)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/69856
Test Plan: Imported from OSS
Reviewed By: jbschlosser
Differential Revision: D33064756
Pulled By: IvanKobzarev
fbshipit-source-id: 430d850f8591b8e0a0bdba5c41896627a72db88e