Searched refs:quantized_attr (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | quantize.cc | 100 if (auto quantized_attr = quant::QuantizeLegacy(attr, qtype.getValue())) { in matchAndRewrite() local 101 rewriter.replaceOpWithNewOp<QConstOp>(op, qtype, quantized_attr); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_utils.cc | 459 llvm::SmallVector<APInt, 8> quantized_attr; in QuantizeLegacy() local 461 quantized_attr.reserve(real_values_attr.getNumElements()); in QuantizeLegacy() 497 std::back_inserter(quantized_attr), in QuantizeLegacy() 501 return DenseElementsAttr::get(new_dense_type, quantized_attr); in QuantizeLegacy() 508 std::back_inserter(quantized_attr), in QuantizeLegacy() 512 return DenseElementsAttr::get(new_dense_type, quantized_attr); in QuantizeLegacy() 529 std::back_inserter(quantized_attr), in QuantizeLegacy() 533 return DenseElementsAttr::get(new_dense_type, quantized_attr); in QuantizeLegacy()
|