Searched refs:elementAttr (Results 1 – 7 of 7) sorted by relevance
222 elementName, elementAttr, _ = element224 labelIndex = safeEval(elementAttr["index"])225 nameID = safeEval(elementAttr["value"])
271 // Test elementAttr field of TypedArrayAttr.277 // RECORD: Attr elementAttr = SomeAttr;
1684 PyAttribute &elementAttr) { in getSplat() argument1687 if (!mlirAttributeIsAInteger(elementAttr) && in getSplat()1688 !mlirAttributeIsAFloat(elementAttr)) { in getSplat()1690 message.append(py::repr(py::cast(elementAttr))); in getSplat()1701 MlirType attrType = mlirAttributeGetType(elementAttr); in getSplat()1707 message.append(py::repr(py::cast(elementAttr))); in getSplat()1712 mlirDenseElementsAttrSplatGet(shapedType, elementAttr); in getSplat()
1373 for (Attribute elementAttr : attr) { in prepareArrayConstant() local1374 if (auto elementID = prepareConstant(loc, elementType, elementAttr)) { in prepareArrayConstant()
2630 if (auto elementAttr = arg.getSplatValue().dyn_cast<FloatAttr>()) in fold() local2631 return DenseElementsAttr::get(arg.getType(), calculate(elementAttr)); in fold()
198 if (auto elementAttr = attr.dyn_cast_or_null<ElementsAttr>()) { in GetHLOAxisFromTFAxis() local199 SmallVector<uint64_t, 1> index(elementAttr.getType().getRank(), 0); in GetHLOAxisFromTFAxis()200 intAttr = elementAttr.getValue<IntegerAttr>(index); in GetHLOAxisFromTFAxis()
1414 Attr elementAttr = element;