Home
last modified time | relevance | path

Searched refs:response_text (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/lite/models/smartreply/
Dpredictor.cc62 auto response_text = tflite::GetString(messages, i); in ExecuteTfLite() local
63 if (response_text.len > 0) { in ExecuteTfLite()
64 (*response_map)[string(response_text.str, response_text.len)] += weight; in ExecuteTfLite()
Dpredictor.h46 PredictorResponse(const std::string& response_text, float score) { in PredictorResponse() argument
47 response_text_ = response_text; in PredictorResponse()
/external/libtextclassifier/actions/
Dlua-actions_test.cc31 MATCHER_P2(IsAction, type, response_text, "") {
33 testing::Value(arg.response_text, response_text);
Dlua-ranker_test.cc29 MATCHER_P2(IsAction, type, response_text, "") {
31 testing::Value(arg.response_text, response_text);
Dranker_test.cc29 MATCHER_P3(IsAction, type, response_text, score, "") {
31 testing::Value(arg.response_text, response_text) &&
Dactions-suggestions_test.cc509 rule_action->action->response_text = "General Desaster!"; in TEST_F()
519 rule_action->action->response_text = "General Kenobi!"; in TEST_F()
549 EXPECT_EQ(response.actions[0].response_text, "General Kenobi!"); in TEST_F()
570 rule_action->action->response_text = "General Desaster!"; in TEST_F()
580 rule_action->action->response_text = "General Kenobi!"; in TEST_F()
618 EXPECT_EQ(response.actions[0].response_text, "General Kenobi!"); in TEST_F()
731 action->response_text = "General Kenobi!"; in TEST_F()
779 EXPECT_EQ(response.actions[0].response_text, "General Kenobi!"); in TEST_F()
832 EXPECT_EQ(response.actions[0].response_text, "STOP"); in TEST_F()
Dtypes.h62 std::string response_text; member
Dranker.cc129 if (const int value = Compare(action.response_text, other.response_text)) { in Compare()
Dlua-utils.cc264 env->PushString(action.response_text); in PushAction()
284 action.response_text = env->ReadString(/*index=*/-1).ToString(); in ReadAction()
Dactions-suggestions.cc538 if (action.response_text.empty()) { in FilterConfidenceOutput()
544 UTF8ToUnicodeText(action.response_text, /*do_copy=*/false)); in FilterConfidenceOutput()
579 suggestion.response_text = in SuggestionFromSpec()
580 action != nullptr && action->response_text() != nullptr in SuggestionFromSpec()
581 ? action->response_text()->str() in SuggestionFromSpec()
Dactions_model.fbs261 response_text:string;
344 // When true, actions suggestions are deduplicated by `type`, `response_text`
Dactions_jni.cc178 action_result[i].response_text); in ActionSuggestionsToJObjectArray()
/external/grpc-grpc/test/core/http/
Dparser_test.cc95 const char* response_text, int expect_status, in test_succeeds() argument
98 grpc_slice input_slice = grpc_slice_from_copied_string(response_text); in test_succeeds()
150 const char* response_text) { in test_fails() argument
152 grpc_slice input_slice = grpc_slice_from_copied_string(response_text); in test_fails()
/external/python/cpython3/Lib/test/
Dtest_httplib.py1866 response_text = (
1873 self.conn._create_connection = self._create_connection(response_text)
1878 def _create_connection(self, response_text): argument
1880 return FakeSocket(response_text, host=address[0], port=address[1])
1925 response_text = 'HTTP/1.0 200 OK\r\n{}\r\n\r\n'.format(expected_header)
1928 self.conn._create_connection = self._create_connection(response_text)
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool.cc671 grpc::string response_text = parser->GetTextFormatFromMethod( in CallMethod() local
677 if (!callback(response_text)) { in CallMethod()
/external/python/cpython2/Lib/test/
Dtest_httplib.py946 response_text = (
953 return FakeSocket(response_text, host=address[0], port=address[1])