[Fix #11447] Use correct type for tensor shape vectors (#11448)
* [Fix] Use correct type for tensor shape vectors
* Replacing std::vector with absl::InlinedVector
* Remove explicit use of absl:: namespace;
Add back explicit size in constructors.
* Remove explicit size for InlinedVector