获取运行时shape。
1
const Shape &GetStorageShape() const
无。
运行时shape。
1 2
StorageShape shape({3, 256, 256}, {256, 256, 3}); auto storage_shape = shape.GetStorageShape(); // 256,256,3