获取运行时format。
ge::Format GetStorageFormat() const
无。
运行时format。
无。
ExpandDimsType dim_type("1100"); StorageFormat format(ge::Format::FORMAT_NCHW, ge::Format::FORMAT_C1HWNC0, dim_type); auto storage_format = format.GetStorageFormat(); // Format::FORMAT_C1HWNC0