GetStorageFormat
Function Usage
Obtains the storage format.
Prototype
1 | ge::Format GetStorageFormat() const |
Parameters
None
Returns
Storage format
Constraints
None
Examples
1 2 3 | ExpandDimsType dim_type("1100"); StorageFormat format(ge::Format::FORMAT_NCHW, ge::Format::FORMAT_C1HWNC0, dim_type); auto storage_format = format.GetStorageFormat(); // Format::FORMAT_C1HWNC0 |
Parent topic: StorageFormat