GetOriginShape

Description

Obtains the original shape.

Prototype

const Shape &GetOriginShape() const

Parameters

None

Returns

Original shape

Restrictions

None

Example

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