Change dimType for shapeInfo (#30047)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30047
Previously, we use dimType to represent dimension type for a tensor. Now, change it to vector<DimType> to record dim type for every dimension of the tensor.
Reviewed By: yinghai, ipiszy
Differential Revision: D18579363
fbshipit-source-id: 72d5a2a8a20a7653e73e64c8eb97f7eed953ea93