/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantize_model_test.cc | 195 EXPECT_EQ(GetBuiltinCode(model_.operator_codes[0].get()), in TEST_P() 209 EXPECT_EQ(GetBuiltinCode(model_.operator_codes[i].get()), in TEST_P() 210 GetBuiltinCode(float_model_op)); in TEST_P() 211 if (GetBuiltinCode(model_.operator_codes[i].get()) == in TEST_P() 276 EXPECT_EQ(GetBuiltinCode(model_.operator_codes[quant_idx].get()), in TEST_P() 278 EXPECT_EQ(GetBuiltinCode(model_.operator_codes[dequant_idx].get()), in TEST_P() 342 GetBuiltinCode(model_.operator_codes[quant_op_uint8_int8_idx].get()), in TEST_P() 345 GetBuiltinCode(model_.operator_codes[quant_op_int8_uint8_idx].get()), in TEST_P() 451 EXPECT_EQ(GetBuiltinCode(model_.operator_codes[requant->opcode_index].get()), in TEST_P() 453 EXPECT_EQ(GetBuiltinCode(model_.operator_codes[concat->opcode_index].get()), in TEST_P() [all …]
|
D | quantize_weights_test.cc | 125 *op_code = GetBuiltinCode(model->operator_codes()->Get(op_code_idx)); in GetProducerOpCode() 200 ASSERT_EQ(GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)), in TEST_F() 259 if (GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)) == in TEST_F() 318 if (GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)) == in TEST_F() 370 GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)); in TEST_F() 404 GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)); in TEST_F() 444 GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)); in TEST_F() 484 GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)); in TEST_F() 530 GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)); in TEST_F() 565 ASSERT_EQ(GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)), in TEST_F()
|
D | quantize_weights.cc | 83 const BuiltinOperator builtin_op_code = GetBuiltinCode(op_code); in GetWeightInputIndices() 137 const BuiltinOperator builtin_op_code = GetBuiltinCode(op_code); in IsHybridEvaluationOp() 202 auto builtin_code = GetBuiltinCode(op_code); in InsertQuantizableInputTensorsFromOperator() 298 if (GetBuiltinCode(model->operator_codes[i].get()) == in GetOrInsertDequantizeOpCodeIndex() 344 GetBuiltinCode(model->operator_codes[i].get()); in UpdateInt8OperatorVersions() 377 GetBuiltinCode(model->operator_codes[consumer_op->opcode_index].get()); in IsQuantizationPassThroughOps()
|
D | quantization_wrapper_utils_test.cc | 74 EXPECT_EQ(GetBuiltinCode(model->operator_codes[0].get()), in TEST() 101 EXPECT_EQ(GetBuiltinCode(model->operator_codes[0].get()), in TEST()
|
D | quantization_wrapper_utils_custom_test.cc | 73 EXPECT_EQ(GetBuiltinCode(model->operator_codes[0].get()), in TEST() 108 EXPECT_EQ(GetBuiltinCode(model->operator_codes[0].get()), in TEST()
|
D | modify_model_interface.cc | 69 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in GetInputTensors() 144 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in GetOutputTensors() 220 if (GetBuiltinCode(model->operator_codes[i].get()) == in SetOutputTypeToUINT8()
|
D | quantize_model.cc | 63 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in GetOperatorProperty() 231 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in InputQuantizeRequired() 605 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in QuantizeOpInput() 800 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in QuantizeOpOutput() 896 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in QuantizeIntemediateTensors() 1029 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in QuantizeWeightsInputOutput() 1094 GetBuiltinCode(model->operator_codes[op->opcode_index].get()); in QuantizeBiases()
|
D | quantization_utils_test.cc | 476 GetBuiltinCode(model.operator_codes.at(conv_op->opcode_index).get()), in TEST_F() 526 GetBuiltinCode(model.operator_codes.at(conv_op->opcode_index).get()), in TEST_F() 561 GetBuiltinCode(model.operator_codes.at(conv_op->opcode_index).get()), in TEST_F() 630 GetBuiltinCode(model.operator_codes.at(conv_op->opcode_index).get()), in TEST_F()
|
D | model_utils.cc | 40 if (GetBuiltinCode(model->operator_codes[i].get()) == op_code) { in GetOrInsertOpCodeIndex()
|
D | modify_model_interface_test.cc | 615 EXPECT_EQ(GetBuiltinCode(model->operator_codes[0].get()), in TEST() 617 EXPECT_EQ(GetBuiltinCode(model->operator_codes[1].get()), in TEST() 619 EXPECT_EQ(GetBuiltinCode(model->operator_codes[2].get()), in TEST()
|
/external/tensorflow/tensorflow/lite/schema/ |
D | schema_utils.h | 27 BuiltinOperator GetBuiltinCode(const OperatorCode *op_code); 29 BuiltinOperator GetBuiltinCode(const OperatorCodeT *op_code);
|
D | schema_utils.cc | 45 BuiltinOperator GetBuiltinCode(const OperatorCode* op_code) { in GetBuiltinCode() function 54 BuiltinOperator GetBuiltinCode(const OperatorCodeT* op_code) { in GetBuiltinCode() function
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | op_resolver.cc | 30 auto builtin_code = GetBuiltinCode(opcode); in GetRegistrationFromOpCode()
|
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/ |
D | calibrator.cc | 303 return tflite::EnumNamesBuiltinOperator()[GetBuiltinCode(&opcode)]; in GetOpName() 365 op_info.builtin_op_code = GetBuiltinCode(operator_code); in BuildLoggingInterpreter() 384 op_info.registration = op_resolver.FindOp(GetBuiltinCode(operator_code), in BuildLoggingInterpreter()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | list_flex_ops_no_kernel.cc | 44 if (tflite::GetBuiltinCode(opcode) != tflite::BuiltinOperator_CUSTOM || in AddFlexOpsFromModel()
|
D | gen_op_registration.cc | 41 auto builtin_code = GetBuiltinCode(opcode); in ReadOpsFromModel()
|
D | list_flex_ops.cc | 91 if (tflite::GetBuiltinCode(opcode) != tflite::BuiltinOperator_CUSTOM || in AddFlexOpsFromModel()
|
D | verifier.cc | 538 auto builtin_code = GetBuiltinCode(opcode); in VerifySubGraphConsistency() 666 auto builtin_code = GetBuiltinCode(opcode); in VerifyOps()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/ |
D | importer_test_min_max.cc | 118 if (tflite::GetBuiltinCode( in InjectStatsToFullyConnected()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | export_test.cc | 175 auto builtin_code = GetBuiltinCode(opcode); in ExportAndSummarizeOperators() 665 GetBuiltinCode((*operator_codes)[0])); in TEST_F() 668 GetBuiltinCode((*operator_codes)[1])); in TEST_F()
|
D | import.cc | 46 auto builtin_code = GetBuiltinCode(opcode); in LoadOperatorsTable()
|
/external/tensorflow/tensorflow/lite/tools/versioning/ |
D | runtime_version.cc | 370 GetBuiltinCode(op_code), op_code->version()); in UpdateMinimumRuntimeVersionForModel()
|
D | op_version.cc | 676 auto builtin_code = GetBuiltinCode(op_code); in GetOpSignature() 860 auto builtin_code = GetBuiltinCode(op_code); in UpdateOpVersion()
|
/external/tensorflow/tensorflow/lite/ |
D | interpreter_builder.cc | 221 if (GetBuiltinCode(opcode) == BuiltinOperator_CUSTOM) { in BuildLocalIndexToRegistrationMapping() 231 if (GetBuiltinCode(opcode) != BuiltinOperator_CUSTOM) { in BuildLocalIndexToRegistrationMapping()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_import.cc | 296 auto builtin_code = tflite::GetBuiltinCode(&op_code); in GetMlirOpName() 752 auto builtin_code = tflite::GetBuiltinCode(&op_code); in ConvertOp()
|