目录

GetStorageFormat

Function Description

Obtains the storage format.

Function Prototype

ge::Format GetStorageFormat() const

Parameters

None

Return Value

Storage format.

Restrictions

None

Calling 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