We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c077822 commit 2ab5186Copy full SHA for 2ab5186
mlir/lib/Dialect/Quant/Transforms/NormalizeQuantTypes.cpp
@@ -84,7 +84,7 @@ class NormalizedQuantTypesConverter : public TypeConverter {
84
85
if (isConvertibleToPerAxis(tensorType)) {
86
auto shape = subChannelType.getScales().getType().getShape();
87
- auto quantizedDimItr =
+ const auto *quantizedDimItr =
88
llvm::find_if(shape, [](int64_t dim) { return dim != 1; });
89
auto scales = llvm::to_vector(llvm::map_range(
90
subChannelType.getScales().getValues<APFloat>(),
0 commit comments