GetStorageShape

Function Usage

Obtains the storage shape.

Prototype

1
const Shape &GetStorageShape() const

Parameters

None

Returns

Storage shape

Constraints

None

Examples

1
2
StorageShape shape({3, 256, 256}, {256, 256, 3});
auto storage_shape = shape.GetStorageShape(); // 256,256,3