Searched refs:attr_shape (Results 1 – 2 of 2) sorted by relevance
87 const auto& attr_shape = attr_type.getShape(); in verifyRegionArgAttribute() local89 for (int64_t i = 0; i < attr_shape.size(); ++i) { in verifyRegionArgAttribute()90 if (!arg_type.isDynamicDim(i) && arg_shape[i] != attr_shape[i]) { in verifyRegionArgAttribute()
2659 DenseIntElementsAttr attr_shape; in build() local2660 if (matchPattern(perm, m_Constant(&attr_shape))) { in build()2662 if (attr_shape.isSplat()) { in build()2664 attr_shape.getNumElements(), in build()2665 x_type.getDimSize((*attr_shape.begin()).getSExtValue())); in build()2667 const_shape.reserve(attr_shape.getNumElements()); in build()2668 for (const auto &dim : attr_shape) in build()