MutableShape

Function Usage

Obtains the writable original shape.

Prototype

1
Shape &MutableShape()

Parameters

None

Returns

Writable original shape.

Constraints

None

Examples

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