Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights_test.cc124 const uint32_t op_code_idx = op->opcode_index(); in GetProducerOpCode() local
125 *op_code = GetBuiltinCode(model->operator_codes()->Get(op_code_idx)); in GetProducerOpCode()
199 const uint32_t op_code_idx = op->opcode_index(); in TEST_F() local
200 ASSERT_EQ(GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)), in TEST_F()
258 const uint32_t op_code_idx = op->opcode_index(); in TEST_F() local
259 if (GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)) == in TEST_F()
317 const uint32_t op_code_idx = op->opcode_index(); in TEST_F() local
318 if (GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)) == in TEST_F()
368 const uint32_t op_code_idx = op->opcode_index(); in TEST_F() local
370 GetBuiltinCode(output_model->operator_codes()->Get(op_code_idx)); in TEST_F()
[all …]
Dmodel_utils.cc45 int op_code_idx = model->operator_codes.size() - 1; in GetOrInsertOpCodeIndex() local
46 model->operator_codes[op_code_idx]->builtin_code = op_code; in GetOrInsertOpCodeIndex()
47 model->operator_codes[op_code_idx]->deprecated_builtin_code = in GetOrInsertOpCodeIndex()
50 model->operator_codes[op_code_idx]->version = version; in GetOrInsertOpCodeIndex()
53 return op_code_idx; in GetOrInsertOpCodeIndex()
Dquantize_weights.cc304 int op_code_idx = model->operator_codes.size() - 1; in GetOrInsertDequantizeOpCodeIndex() local
305 model->operator_codes[op_code_idx]->builtin_code = BuiltinOperator_DEQUANTIZE; in GetOrInsertDequantizeOpCodeIndex()
306 model->operator_codes[op_code_idx]->deprecated_builtin_code = in GetOrInsertDequantizeOpCodeIndex()
309 model->operator_codes[op_code_idx]->version = 2; in GetOrInsertDequantizeOpCodeIndex()
312 return op_code_idx; in GetOrInsertDequantizeOpCodeIndex()