Searched refs:dims_elems (Results 1 – 2 of 2) sorted by relevance
775 ElementsAttr dims_elems; in matchAndRewrite() local776 if (!matchPattern(tf_fill_op.dims(), m_Constant(&dims_elems))) in matchAndRewrite()780 for (int i = 0; i < dims_elems.getNumElements(); i++) { in matchAndRewrite()781 dims_vals.push_back(dims_elems.getValue<IntegerAttr>(i).getInt()); in matchAndRewrite()
1693 ElementsAttr dims_elems; in matchAndRewrite() local1694 if (!matchPattern(tfl_fill_op.dims(), m_Constant(&dims_elems))) in matchAndRewrite()1698 for (int i = 0; i < dims_elems.getNumElements(); i++) { in matchAndRewrite()1699 dims_vals.push_back(dims_elems.getValue<IntegerAttr>(i).getInt()); in matchAndRewrite()