Home
last modified time | relevance | path

Searched refs:ExpressedToQuantizedConverter (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DUniformSupport.cpp20 const ExpressedToQuantizedConverter
21 ExpressedToQuantizedConverter::forInputType(Type inputType) { in forInputType()
25 return ExpressedToQuantizedConverter{inputType, nullptr}; in forInputType()
26 return ExpressedToQuantizedConverter{inputType, elementType}; in forInputType()
30 return ExpressedToQuantizedConverter{inputType, inputType}; in forInputType()
32 return ExpressedToQuantizedConverter{inputType, nullptr}; in forInputType()
35 Type ExpressedToQuantizedConverter::convert(QuantizedType elementalType) const { in convert()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h32 struct ExpressedToQuantizedConverter { struct
34 static const ExpressedToQuantizedConverter forInputType(Type inputType);
/external/llvm-project/mlir/lib/Dialect/Quant/Transforms/
DConvertSimQuant.cpp51 auto converter = ExpressedToQuantizedConverter::forInputType(op.getType()); in failableRewrite()
/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/
DQuantUtils.cpp287 quant::ExpressedToQuantizedConverter::forInputType(inputDType); in buildQTypeFromMinMax()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc86 quant::ExpressedToQuantizedConverter::forInputType(input_type); in GetQuantizedType()