Searched refs:expressed_type (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | default_quant_params.cc | 168 Type expressed_type = value.getType(); in QuantizeValue() local 169 Type new_type = quant_params.castFromExpressedType(expressed_type); in QuantizeValue() 184 value.getLoc(), expressed_type, quantize.output()); in QuantizeValue()
|
D | load_quantization_recipe.cc | 74 Type expressed_type = in Initialize() local 88 flag, int8_storage_type, expressed_type, int8_min, int8_max); in Initialize() 90 flag, int16_storage_type, expressed_type, int16_min, int16_max); in Initialize()
|
D | prepare_quantize_helper.h | 324 Type expressed_type = const_op->getResult(0).getType(); in processConstantOp() local 325 Type cast_type = quant_type.castFromExpressedType(expressed_type); in processConstantOp() 329 auto dq = rewriter.create<DQ>(const_op->getLoc(), expressed_type, q); in processConstantOp()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_driver.cc | 527 Type expressed_type = value.getType(); in QuantizeValue() local 528 Type new_type = params.castFromExpressedType(expressed_type); in QuantizeValue() 534 loc, expressed_type, quantize.getResult()); in QuantizeValue() 582 Type expressed_type = value.getType(); in RequantizeValue() local 585 new_type = state->params.castFromExpressedType(expressed_type); in RequantizeValue() 587 Type expressed_type = in RequantizeValue() local 589 if (!expressed_type) return; in RequantizeValue() 593 new_type = state->params.castFromExpressedType(expressed_type); in RequantizeValue()
|
D | quantization_utils.cc | 383 Type expressed_type; in GetUniformQuantizedTypeForBias() local 390 if (expressed_type && expressed_type != op_type.getExpressedType()) { in GetUniformQuantizedTypeForBias() 393 expressed_type = op_type.getExpressedType(); in GetUniformQuantizedTypeForBias() 427 Builder builder(expressed_type.getContext()); in GetUniformQuantizedTypeForBias() 435 /*flags=*/true, storage_type, expressed_type, scales[0], in GetUniformQuantizedTypeForBias() 445 /*flags=*/true, storage_type, expressed_type, scales, zero_points, in GetUniformQuantizedTypeForBias()
|