Searched refs:valuesType (Results 1 – 2 of 2) sorted by relevance
927 ShapedType valuesType = RankedTensorType::get({0}, type.getElementType()); in parseSparseElementsAttr() local930 DenseElementsAttr::get(valuesType, ArrayRef<Attribute>())); in parseSparseElementsAttr()974 ShapedType valuesType = in parseSparseElementsAttr() local978 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()
65 auto valuesType = RankedTensorType::get({1}, eleType); in getTestSparseElementsAttr() local66 auto values = DenseFPElementsAttr::get(valuesType, {APFloat(0.0f)}); in getTestSparseElementsAttr()