llvm/mlir/lib/Dialect/Quant/Utils/UniformSupport.cpp

//===- UniformSupport.cpp - Support utilities for uniform quant -----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "mlir/Dialect/Quant/Utils/UniformSupport.h"
#include "mlir/IR/BuiltinTypes.h"
#include <numeric>

usingnamespacemlir;
usingnamespacemlir::quant;

static bool isQuantizablePrimitiveType(Type inputType) {}

ExpressedToQuantizedConverter
ExpressedToQuantizedConverter::forInputType(Type inputType) {}

Type ExpressedToQuantizedConverter::convert(QuantizedType elementalType) const {}

ElementsAttr
UniformQuantizedPerAxisValueConverter::convert(Attribute realValue) {}

DenseElementsAttr
UniformQuantizedPerAxisValueConverter::convert(DenseFPElementsAttr attr) {}