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