Add a test to verify non-contiguous tensors work correctly with RPC. (#36705)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36705
ghstack-source-id: 102257937
Test Plan: waitforbuildbot
Differential Revision: D21058176
fbshipit-source-id: 1d32730d61420324856cc641f888751418c1dd26