MutableOriginShape

Description

Obtains the writable original shape.

Prototype

Shape &MutableOriginShape()

Parameters

None

Returns

Writable original shape

Restrictions

None

Example

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