获取Tensor的shape的总维度数。
int32_t GetDims() const
无
Tensor的shape的总维度数。
无。
int32_t dims = shape->GetDims();