Home
last modified time | relevance | path

Searched refs:valuesType (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Parser/
DAttributeParser.cpp927 ShapedType valuesType = RankedTensorType::get({0}, type.getElementType()); in parseSparseElementsAttr() local
930 DenseElementsAttr::get(valuesType, ArrayRef<Attribute>())); in parseSparseElementsAttr()
974 ShapedType valuesType = in parseSparseElementsAttr() local
978 auto values = valuesParser.getAttr(valuesLoc, valuesType); in parseSparseElementsAttr()
981 if (valuesType.getRank() != 1) in parseSparseElementsAttr()
986 auto sameElementNum = indicesType.getDimSize(0) == valuesType.getDimSize(0); in parseSparseElementsAttr()
992 << valuesType.getShape() << "])"; in parseSparseElementsAttr()
/external/llvm-project/mlir/unittests/Dialect/Quant/
DQuantizationUtilsTest.cpp65 auto valuesType = RankedTensorType::get({1}, eleType); in getTestSparseElementsAttr() local
66 auto values = DenseFPElementsAttr::get(valuesType, {APFloat(0.0f)}); in getTestSparseElementsAttr()