判断本补维规则对象与另一个对象是否一致。
bool operator==(const ExpandDimsType &other) const
参数
输入/输出
说明
other
输入
另一个补维规则对象。
true/false
无。
ExpandDimsType type1("1001"); ExpandDimsType type2("1001"); bool is_same_type = type1 == type2; // true