获取运行时format。
1 | ge::Format GetStorageFormat() const |
无。
运行时format。
无。
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 |