GetOriginShape

Function Usage

Obtains the original shape.

Prototype

1
const Shape &GetOriginShape() const

Parameters

None

Returns

Original shape

Constraints

None

Examples

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