C++ API parity: Upsample (#28413)
Summary:
Adds `interpolate` functional and `Upsample` module support for the C++ API.
**Issue**: https://github.com/pytorch/pytorch/issues/25883
**Reviewer**: yf225
Pull Request resolved: https://github.com/pytorch/pytorch/pull/28413
Differential Revision: D18165014
Pulled By: yf225
fbshipit-source-id: ecae2f432a301b1f4afa7c038b2d104cbad139f2