MutableOriginShape

Function Usage

Obtains the writable original shape.

Prototype

1
Shape &MutableOriginShape()

Parameters

None

Returns

Writable original shape

Constraints

None

Examples

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