MutableStorageShape

Function Usage

Obtains the writable storage shape.

Prototype

1
Shape &MutableStorageShape()

Parameters

None

Returns

Writable storage shape

Constraints

None

Examples

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