[PyTorch] Copy vectors less in Function::append_operator (#63977)
authorScott Wolchok <swolchok@fb.com>
Thu, 9 Sep 2021 01:30:14 +0000 (18:30 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 9 Sep 2021 01:31:38 +0000 (18:31 -0700)
commitf5e76b4e38fd27576350177403387214d7e4f708
treea0c533165a4ae447f6ec5103a06d89b097bf6463
parent0ef32625a8b44124d8cfadb981ff8ef482c5c1c0
[PyTorch] Copy vectors less in Function::append_operator (#63977)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63977

Doesn't seem to be any reason to copy these argument vectors.
ghstack-source-id: 137566815

Test Plan: CI

Reviewed By: dhruvbird, raziel

Differential Revision: D30550301

fbshipit-source-id: 33c199f975e4fb62c50a8210dc08aa9bb7a3e2f2
torch/csrc/jit/mobile/function.cpp