[TorchTidy] Adding Layout support and exposing TensorMetadata (#81155)
TensorMetadata will be used later to hold various metadata fields including sizes and strides.
This is basically me separating the following diff into its logical components after they all got smushed together
https://github.com/pytorch/pytorch/pull/80072
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81155
Approved by: https://github.com/robieta