获取Shape的维度个数。
size_t GetDimNum() const
无。
Shape的维度个数。
Shape shape0({3, 256, 256}); auto dim_num = shape0.GetDimNum(); // 3