Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc456 auto real_values_attr = real_value.cast<DenseFPElementsAttr>(); in QuantizeLegacy() local
460 real_values.reserve(real_values_attr.getNumElements()); in QuantizeLegacy()
461 quantized_attr.reserve(real_values_attr.getNumElements()); in QuantizeLegacy()
462 std::transform(real_values_attr.begin(), real_values_attr.end(), in QuantizeLegacy()
467 q_type.castExpressedToStorageType(real_values_attr.getType()) in QuantizeLegacy()
473 std::vector<int8_t> quantized_values(real_values_attr.getNumElements()); in QuantizeLegacy()