Constructor

Function Usage

Constructs an instance of the storage shape.

Prototype

1
2
StorageShape()
StorageShape(const std::initializer_list<int64_t> &origin_shape, const std::initializer_list<int64_t> &storage_shape)

Parameters

Parameter

Input/Output

Description

origin_shape

Input

Original shape

storage_shape

Input

Storage shape

Returns

An initialized StorageShape object

Constraints

None

Examples

1
StorageShape shape({3, 256, 256}, {3, 256, 256});