Searched refs:ann_index (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate.cc | 207 int DequantizedAnnIndex(int ann_index, TfLiteType type) const { in DequantizedAnnIndex() argument 209 if (ann_index == std::get<0>(element) && type == std::get<1>(element)) { in DequantizedAnnIndex() 216 void Add(int ann_index, TfLiteType type, int dequantized_ann_index) { in Add() argument 218 mapping_.emplace_back(ann_index, type, dequantized_ann_index); in Add() 300 const int ann_index = operand_mapping_->lite_index_to_ann(lite_index); in AddDequantize() local 302 dequantize_mapping_->DequantizedAnnIndex(ann_index, dequantized_type); in AddDequantize() 317 const uint32_t dequantize_input[1] = {static_cast<uint32_t>(ann_index)}; in AddDequantize() 324 dequantize_mapping_->Add(ann_index, dequantized_type, in AddDequantize() 357 const int ann_index = operand_mapping_->add_new_non_tensor_operand(); in AddScalarOperand() local 360 nn_model_, ann_index, &value, sizeof(T))); in AddScalarOperand() [all …]
|