Searched refs:result_map (Results 1 – 10 of 10) sorted by relevance
/external/libtextclassifier/native/annotator/translate/ |
D | translate.cc | 131 std::map<std::string, float> result_map; in BackoffDetectLanguages() local 133 result_map[language] = subject_text_score_ratio * score; in BackoffDetectLanguages() 136 result_map[language] += more_text_score_ratio * score * penalize_ratio; in BackoffDetectLanguages() 140 result.reserve(result_map.size()); in BackoffDetectLanguages() 141 for (const auto& [key, value] : result_map) { in BackoffDetectLanguages()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | sort_simplifier.cc | 111 absl::flat_hash_map<int64, HloInstruction*> result_map; in RemoveUnusedOperandFromSort() local 117 result_map[i] = in RemoveUnusedOperandFromSort() 125 result_map[*used_indices.begin()] = new_sort; in RemoveUnusedOperandFromSort() 131 user->ReplaceAllUsesWith(result_map.at(user->tuple_index()))); in RemoveUnusedOperandFromSort()
|
/external/autotest/client/tests/wb_kupdate/ |
D | wb_kupdate.py | 179 self.result_map = {} 253 self.result_map[counter] = time_taken.seconds 264 self.write_perf_keyval(self.result_map)
|
/external/python/cpython2/Lib/xml/etree/ |
D | ElementPath.py | 137 result_map = {} 141 if parent not in result_map: 142 result_map[parent] = None
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_select_reuseport.c | 32 static int result_map, tmp_index_ovr_map, linum_map, data_check_map; variable 117 result_map = bpf_map__fd(map); in prepare_bpf_obj() 118 CHECK(result_map == -1, "get result_map fd", in prepare_bpf_obj() 119 "result_map:%d\n", result_map); in prepare_bpf_obj() 312 err = bpf_map_lookup_elem(result_map, &i, &results[i]); in check_results() 547 err = bpf_map_lookup_elem(result_map, &i, &tmp); in test_detach_bpf() 560 err = bpf_map_lookup_elem(result_map, &i, &tmp); in test_detach_bpf()
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_select_reuseport_kern.c | 36 } result_map SEC(".maps"); 169 result_cnt = bpf_map_lookup_elem(&result_map, &result); in _select_by_skb_data()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | cumulative_logsumexp_test.py | 113 result_map = self.evaluate(self._logSumExpMap(x_tf)) 115 self.assertAllClose(result_fused, result_map)
|
/external/python/cpython3/Lib/xml/etree/ |
D | ElementPath.py | 217 result_map = {} 221 if parent not in result_map: 222 result_map[parent] = None
|
/external/OpenCL-CTS/test_common/harness/ |
D | testHarness.cpp | 591 const char *result_map[] = { "pass", "fail", "skip" }; in saveResultsToJson() local 604 testList[i].name, result_map[(int)resultTestList[i]]); in saveResultsToJson()
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 501 typedef struct result_map struct
|