Home
last modified time | relevance | path

Searched refs:getStorageTypeIntegralWidth (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dconvert_tfl_uint8.cc83 output_element_type.getStorageTypeIntegralWidth() != 8) { in matchAndRewrite()
108 output_element_type.getStorageTypeIntegralWidth()), in matchAndRewrite()
161 uint8_element_type.getStorageTypeIntegralWidth() != 8) in convert_graph_uint8_tensor()
182 uint8_element_type.getStorageTypeIntegralWidth()), in convert_graph_uint8_tensor()
230 output_element_type.getStorageTypeIntegralWidth() != 8) in convert_graph_uint8_tensor()
251 output_element_type.getStorageTypeIntegralWidth()), in convert_graph_uint8_tensor()
282 uint8_output_element_type.getStorageTypeIntegralWidth() != 8) in convert_graph_uint8_tensor()
297 int8_output_element_type.getStorageTypeIntegralWidth() != 8) in convert_graph_uint8_tensor()
Dlegalize_utils.cc415 input_element_qtype.getStorageTypeIntegralWidth())); in getUnquantizedBias()
Dlegalize_tfl.cc1262 .getStorageTypeIntegralWidth(); in matchAndRewrite()
1265 .getStorageTypeIntegralWidth(); in matchAndRewrite()
2824 int64_t num_bits = element_type.getStorageTypeIntegralWidth(); in matchAndRewrite()
2857 int64_t num_bits = element_type.getStorageTypeIntegralWidth(); in matchAndRewrite()
/external/llvm-project/mlir/test/lib/Dialect/Tosa/
DTosaTestPasses.cpp64 outputElementType.getStorageTypeIntegralWidth() != 8) in matchAndRewrite()
81 outputElementType.getStorageTypeIntegralWidth()), in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h67 uniformType.getStorageTypeIntegralWidth(), uniformType.isSigned()) { in UniformQuantizedValueConverter()
181 storageBitWidth(uniformType.getStorageTypeIntegralWidth()), in UniformQuantizedPerAxisValueConverter()
DQuantTypes.h122 unsigned getStorageTypeIntegralWidth() const;
/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/
DQuantUtils.cpp260 unsigned inputBits = inputQType.getStorageTypeIntegralWidth(); in buildConvOpResultTypeInfo()
261 unsigned weightBits = weightQType.getStorageTypeIntegralWidth(); in buildConvOpResultTypeInfo()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc563 type.getStorageTypeIntegralWidth() == 8) { in DownCastScale()
730 expected_params.getStorageTypeIntegralWidth() == in VerifySameScales()
731 compared_paras.getStorageTypeIntegralWidth()) && in VerifySameScales()
734 expected_params.getStorageTypeIntegralWidth())) in VerifySameScales()
Dquantization.td33 ".getStorageTypeIntegralWidth() == " # !head(params)>]>,
Dquantization_utils.h395 int num_bits = qtype.getStorageTypeIntegralWidth(); in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/Dialect/Tosa/IR/
DTosaTypesBase.td29 ".getStorageTypeIntegralWidth() == " # !head(params)>]>,
/external/llvm-project/mlir/lib/Dialect/Tosa/IR/
DTosaOps.cpp228 unsigned inputBits = inputQType.getStorageTypeIntegralWidth(); in buildMatMulOpWithQuantInfo()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp342 unsigned storageWidth = type.getStorageTypeIntegralWidth(); in printStorageType()
DQuantTypes.cpp74 unsigned QuantizedType::getStorageTypeIntegralWidth() const { in getStorageTypeIntegralWidth() function in QuantizedType
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_quantize_helper.h453 int num_storage_bits = quant_type.getStorageTypeIntegralWidth(); in processIntermediates()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc419 bit_width = qtype.getStorageTypeIntegralWidth(); in ConvertIntBuffer()
870 if (!qtype || qtype.getStorageTypeIntegralWidth() != 8) return; in PostProcessFuncOp()
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc120 quantized_type.getStorageTypeIntegralWidth() == 8 && in IsQI8Type()
128 quantized_type.getStorageTypeIntegralWidth() == 8 && in IsQUI8Type()
136 quantized_type.getStorageTypeIntegralWidth() == 16 && in IsQI16Type()