GetStorageFormat
Description
Obtains the storage format.
Prototype
ge::Format GetStorageFormat() const
Parameters
None
Returns
Storage format
Restrictions
None
Example
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