SetStorageFormat
Description
Sets the storage format.
Prototype
void SetStorageFormat(const ge::Format storage_format)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
storage_format |
Input |
Storage format |
Returns
None
Restrictions
None
Example
ExpandDimsType dim_type("1100");
StorageFormat format(ge::Format::FORMAT_NCHW, ge::Format::FORMAT_C1HWNC0, dim_type);
format.SetStorageFormat(ge::Format::FORMAT_NC);
Parent topic: StorageFormat