Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dload_quantization_recipe.cc92 int8 = any_int8.castFromExpressedType(lstm.input().getType()); in Initialize()
93 int16 = any_int16.castFromExpressedType(lstm.input().getType()); in Initialize()
Dprepare_quantize_helper.h325 Type cast_type = quant_type.castFromExpressedType(expressed_type); in processConstantOp()
394 Type result_type = quant_type.castFromExpressedType(stats_op.getType()); in replaceStatsOp()
488 TypeAttr::get(qtype.castFromExpressedType( in processIntermediates()
Ddefault_quant_params.cc169 Type new_type = quant_params.castFromExpressedType(expressed_type); in QuantizeValue()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DQuantTypes.cpp146 Type QuantizedType::castFromExpressedType(Type candidateType) { in castFromExpressedType() function in QuantizedType
196 Type expressedQuantizedType = castFromExpressedType(candidateType); in castExpressedToStorageType()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_driver.cc528 Type new_type = params.castFromExpressedType(expressed_type); in QuantizeValue()
585 new_type = state->params.castFromExpressedType(expressed_type); in RequantizeValue()
593 new_type = state->params.castFromExpressedType(expressed_type); in RequantizeValue()
Dquantization_utils.h154 Type result_type = quant_type.castFromExpressedType(op.getType()); in matchAndRewrite()
428 Type new_output_type = new_qtype.castFromExpressedType( in matchAndRewrite()
Dquantization_utils.cc146 if (auto new_type = new_ele_type.castFromExpressedType( in RescaleQuantizedType()
266 Type final_type = qtype.castFromExpressedType(target); in CastQuantizedTypeAttrFromExpressedType()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DQuantTypes.h160 Type castFromExpressedType(Type candidateType);
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc898 auto new_output_type = new_qtype.castFromExpressedType( in PostProcessFuncOp()