[PyTorch] Don't bother with SmallVector in TensorMaker (#55125)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/55125
We can provide an ArrayRef to 1-5 zeros much more efficiently, like this.
ghstack-source-id: 125471024
Test Plan: Existing CI
Reviewed By: ezyang
Differential Revision: D27494800
fbshipit-source-id: 5e2addfabae70960475a4b322925cd0eae71b4c6