Home
last modified time | relevance | path

Searched refs:response_map (Results 1 – 5 of 5) sorted by relevance

/external/autotest/scheduler/
Drdb_cache_unittests.py43 response_map, deps=test_utils.DEFAULT_DEPS, argument
49 return response_map[
75 requests = self.response_map.keys()
91 self.response_map, **default_params)[0]
94 self.response_map, **default_params)[0]
110 return test_utils.wire_format_response_map(self.response_map)
155 hosts = get_hosts_for_request(self.response_map,
160 return test_utils.wire_format_response_map(self.response_map)
189 return test_utils.wire_format_response_map(self.response_map)
234 return test_utils.wire_format_response_map(self.response_map)
[all …]
Drdb.py97 self.response_map = {}
121 exist_response = self.response_map.setdefault(request, [])
140 for request, response in self.response_map.iteritems():
148 (response, request, self.response_map))
171 for request, response in self.response_map.iteritems():
172 self.response_map[request] = [reply.wire_format()
174 return self.response_map
246 self.response_map = {}
452 for request in sorted(self.response_map.keys(),
454 hosts = self.response_map[request]
[all …]
Drdb_testing_utils.py53 def wire_format_response_map(response_map): argument
55 for request, response in response_map.iteritems():
Drdb_unittest.py80 self.handler.response_map = {}
/external/tensorflow/tensorflow/lite/models/smartreply/
Dpredictor.cc47 std::map<std::string, float>* response_map) { in ExecuteTfLite() argument
64 (*response_map)[string(response_text.str, response_text.len)] += weight; in ExecuteTfLite()
86 std::map<std::string, float> response_map; in GetSegmentPredictions() local
93 ExecuteTfLite(sentence, interpreter.get(), &response_map); in GetSegmentPredictions()
97 for (const auto& iter : response_map) { in GetSegmentPredictions()