Home
last modified time | relevance | path

Searched refs:elementAttr (Results 1 – 7 of 7) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
DC_P_A_L_.py222 elementName, elementAttr, _ = element
224 labelIndex = safeEval(elementAttr["index"])
225 nameID = safeEval(elementAttr["value"])
/external/llvm-project/mlir/test/mlir-tblgen/
Dop-attribute.td271 // Test elementAttr field of TypedArrayAttr.
277 // RECORD: Attr elementAttr = SomeAttr;
/external/llvm-project/mlir/lib/Bindings/Python/
DIRModules.cpp1684 PyAttribute &elementAttr) { in getSplat() argument
1687 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()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp1373 for (Attribute elementAttr : attr) { in prepareArrayConstant() local
1374 if (auto elementID = prepareConstant(loc, elementType, elementAttr)) { in prepareArrayConstant()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_a_m.cc2630 if (auto elementAttr = arg.getSplatValue().dyn_cast<FloatAttr>()) in fold() local
2631 return DenseElementsAttr::get(arg.getType(), calculate(elementAttr)); in fold()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc198 if (auto elementAttr = attr.dyn_cast_or_null<ElementsAttr>()) { in GetHLOAxisFromTFAxis() local
199 SmallVector<uint64_t, 1> index(elementAttr.getType().getRank(), 0); in GetHLOAxisFromTFAxis()
200 intAttr = elementAttr.getValue<IntegerAttr>(index); in GetHLOAxisFromTFAxis()
/external/llvm-project/mlir/include/mlir/IR/
DOpBase.td1414 Attr elementAttr = element;