GetExpandDimsType

Description

Obtains the dimension expansion rule.

Prototype

ExpandDimsType GetExpandDimsType() const

Parameters

None

Returns

Dimension expansion rule

Restrictions

None

Example

ExpandDimsType dim_type("1100");
StorageFormat format(ge::Format::FORMAT_NCHW, ge::Format::FORMAT_C1HWNC0, dim_type);
auto fmt_dim_type = format.GetExpandDimsType();