Searched refs:value_elem (Results 1 – 2 of 2) sorted by relevance
785 ElementsAttr value_elem; in matchAndRewrite() local786 if (!matchPattern(tf_fill_op.value(), m_Constant(&value_elem))) in matchAndRewrite()790 ArrayRef<int64_t>(dims_vals), value_elem.getType().getElementType()); in matchAndRewrite()794 if (value_elem.getType().getElementType().isa<FloatType>()) { in matchAndRewrite()797 value_elem.getValue<FloatAttr>(0).getValue().convertToFloat()); in matchAndRewrite()803 value_elem.getValue<IntegerAttr>(0).getValue().getLimitedValue()); in matchAndRewrite()
1703 ElementsAttr value_elem; in matchAndRewrite() local1704 if (!matchPattern(tfl_fill_op.input(), m_Constant(&value_elem))) in matchAndRewrite()1708 ArrayRef<int64_t>(dims_vals), value_elem.getType().getElementType()); in matchAndRewrite()1712 if (value_elem.getType().getElementType().isa<FloatType>()) { in matchAndRewrite()1715 value_elem.getValue<FloatAttr>(0).getValue().convertToFloat()); in matchAndRewrite()1721 value_elem.getValue<IntegerAttr>(0).getValue().getLimitedValue()); in matchAndRewrite()