StorageShape Constructor
Description
Constructs an instance of the storage shape.
Prototype
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
Initialized StorageShape object
Restrictions
None
Example
StorageShape shape({3, 256, 256}, {3, 256, 256});
Parent topic: StorageShape