Searched refs:float_attr (Results 1 – 4 of 4) sorted by relevance
55 DenseFPElementsAttr float_attr; in IsConstantValueOf() local56 if (matchPattern(value, m_Constant(&float_attr)) && float_attr.isSplat() && in IsConstantValueOf()57 float_attr.getSplatValue<APFloat>().isExactlyValue(raw_value)) in IsConstantValueOf()
152 auto float_attr = attrs.get(attribute).dyn_cast_or_null<FloatAttr>(); in AddFloatAttr() local153 if (!float_attr) { in AddFloatAttr()157 builder->Float(attribute.c_str(), float_attr.getValue().convertToFloat()); in AddFloatAttr()173 auto float_attr = attrs.get(attribute).dyn_cast_or_null<FloatAttr>(); in HasFloatAttr() local174 if (!float_attr) { in HasFloatAttr()
62 auto float_attr = in AttachCostPerDevice() local64 device_costs.push_back({device_identifier, float_attr}); in AttachCostPerDevice()
83 if (auto float_attr = attr.second.dyn_cast_or_null<FloatAttr>()) { in CreateTflFusableOpCustomOptions() local84 fbb.Float(attr.first.data(), float_attr.getValue().convertToFloat()); in CreateTflFusableOpCustomOptions()