SetStorageFormat
Function Usage
Sets the storage format.
Prototype
1 | void SetStorageFormat(const ge::Format storage_format) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
storage_format |
Input |
Storage format. |
Returns
None
Constraints
None
Examples
1 2 3 | 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