[c10] Allow taking a std::tuple as arg (#32948)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32948
ghstack-source-id: 97736044
Test Plan: Imported from OSS
Differential Revision: D19709119
fbshipit-source-id: 26b069a95ae7a79a2d5cbe3845eb1a5dcd398be1