Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.h403 QType new_qtype; in matchAndRewrite() local
405 new_qtype = quant::UniformQuantizedType::getChecked( in matchAndRewrite()
418 new_qtype = quant::UniformQuantizedPerAxisType::getChecked( in matchAndRewrite()
427 if (!new_qtype) return failure(); in matchAndRewrite()
428 Type new_output_type = new_qtype.castFromExpressedType( in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize.cc591 auto new_qtype = RescaleQtype(q_op.qtype(), gamma_cst); in matchAndRewrite() local
592 if (!new_qtype) return failure(); in matchAndRewrite()
593 rewriter.replaceOpWithNewOp<TFL::QuantizeOp>(q_op, new_qtype.getValue(), in matchAndRewrite()
594 new_filter, new_qtype); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc880 mlir::quant::QuantizedType new_qtype; in PostProcessFuncOp() local
883 new_qtype = mlir::quant::UniformQuantizedPerAxisType::get( in PostProcessFuncOp()
890 new_qtype = mlir::quant::UniformQuantizedType::get( in PostProcessFuncOp()
898 auto new_output_type = new_qtype.castFromExpressedType( in PostProcessFuncOp()