summaryrefslogtreecommitdiffstats
path: root/mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp')
-rw-r--r--mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp b/mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp
index d2b551f0296..d10623e3d1d 100644
--- a/mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp
+++ b/mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp
@@ -128,7 +128,7 @@ TEST(QuantizationUtilsTest, convertRankedSplatAttrUniform) {
IntegerType convertedType = IntegerType::get(8, &ctx);
auto quantizedType = getTestQuantizedType(convertedType, &ctx);
TestUniformQuantizedValueConverter converter(quantizedType);
- auto realValue = getTestElementsAttr<SplatElementsAttr, Attribute>(
+ auto realValue = getTestElementsAttr<DenseElementsAttr, Attribute>(
&ctx, {1, 2}, getTestFloatAttr(1.0, &ctx));
Type returnedType;
OpenPOWER on IntegriCloud