Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights_test.cc100 const uint32_t op_code_idx = op->opcode_index(); in GetProducerOpCode() local
101 *op_code = model->operator_codes()->Get(op_code_idx)->builtin_code(); in GetProducerOpCode()
175 const uint32_t op_code_idx = op->opcode_index(); in TEST_F() local
176 ASSERT_EQ(output_model->operator_codes()->Get(op_code_idx)->builtin_code(), in TEST_F()
228 const uint32_t op_code_idx = op->opcode_index(); in TEST_F() local
229 if (output_model->operator_codes()->Get(op_code_idx)->builtin_code() == in TEST_F()
279 const uint32_t op_code_idx = op->opcode_index(); in TEST_F() local
281 output_model->operator_codes()->Get(op_code_idx)->builtin_code(); in TEST_F()
313 const uint32_t op_code_idx = op->opcode_index(); in TEST_F() local
315 output_model->operator_codes()->Get(op_code_idx)->builtin_code(); in TEST_F()
Dquantize_weights.cc203 int op_code_idx = model->operator_codes.size() - 1; in GetOrInsertDequantizeOpCodeIndex() local
204 model->operator_codes[op_code_idx]->builtin_code = BuiltinOperator_DEQUANTIZE; in GetOrInsertDequantizeOpCodeIndex()
206 model->operator_codes[op_code_idx]->version = 2; in GetOrInsertDequantizeOpCodeIndex()
209 return op_code_idx; in GetOrInsertDequantizeOpCodeIndex()