/external/libtextclassifier/native/actions/ |
D | lua-ranker_test.cc | 69 const Conversation conversation = {{{/*user_id=*/1, "hello hello"}}}; in TEST() local 85 conversation, test_snippet, /*entity_data_schema=*/nullptr, in TEST() 95 const Conversation conversation = {{{/*user_id=*/1, "hello hello"}}}; in TEST() local 107 conversation, test_snippet, /*entity_data_schema=*/nullptr, in TEST() 114 const Conversation conversation = {{{/*user_id=*/1, "hello hello"}}}; in TEST() local 130 conversation, test_snippet, /*entity_data_schema=*/nullptr, in TEST() 140 const Conversation conversation = {{{/*user_id=*/1, "hello hello"}}}; in TEST() local 160 conversation, test_snippet, /*entity_data_schema=*/nullptr, in TEST() 170 const Conversation conversation = {{{/*user_id=*/1, "hello hello"}}}; in TEST() local 188 conversation, test_snippet, /*entity_data_schema=*/nullptr, in TEST() [all …]
|
D | ranker_test.cc | 38 const Conversation conversation = {{{/*user_id=*/1, "hello hello"}}}; in TEST() local 53 ranker->RankActions(conversation, &response); in TEST() 60 const Conversation conversation = {{{/*user_id=*/1, "hello hello"}}}; in TEST() local 80 ranker->RankActions(conversation, &response); in TEST() 89 const Conversation conversation = { in TEST() local 134 ranker->RankActions(conversation, &response); in TEST() 141 const Conversation conversation = { in TEST() local 186 ranker->RankActions(conversation, &response); in TEST() 196 const Conversation conversation = {{{/*user_id=*/1, "code A-911"}}}; in TEST() local 228 ranker->RankActions(conversation, &response); in TEST() [all …]
|
D | tflite-sensitive-model.cc | 42 Conversation conversation; in Eval() local 43 conversation.messages.emplace_back(); in Eval() 44 conversation.messages.front().text = text.ToUTF8String(); in Eval() 46 return EvalConversation(conversation, 1); in Eval() 50 const Conversation& conversation, int num_messages) const { in EvalConversation() argument 68 for (int i = conversation.messages.size() - num_messages; in EvalConversation() 69 i < conversation.messages.size(); i++) { in EvalConversation() 70 const ConversationMessage& message = conversation.messages[i]; in EvalConversation()
|
D | lua-actions_test.cc | 34 Conversation conversation; in TEST() local 40 test_snippet, conversation, in TEST() 51 Conversation conversation; local 52 conversation.messages.push_back({/*user_id=*/0, "hello there!"}); 53 conversation.messages.push_back({/*user_id=*/1, "general kenobi!"});
|
D | actions-suggestions.cc | 72 int NumMessagesToConsider(const Conversation& conversation, in NumMessagesToConsider() argument 75 conversation.messages.size() < max_conversation_history_length) in NumMessagesToConsider() 76 ? conversation.messages.size() in NumMessagesToConsider() 981 const Conversation& conversation, const int num_messages, in SuggestActionsFromModel() argument 985 TC3_CHECK_LE(num_messages, conversation.messages.size()); in SuggestActionsFromModel() 988 sensitive_model_->EvalConversation(conversation, num_messages).first) { in SuggestActionsFromModel() 1014 for (int i = conversation.messages.size() - num_messages; in SuggestActionsFromModel() 1015 i < conversation.messages.size(); i++) { in SuggestActionsFromModel() 1016 const ConversationMessage& message = conversation.messages[i]; in SuggestActionsFromModel() 1049 const Conversation& conversation, const ActionSuggestionOptions& options, in SuggestActionsFromConversationIntentDetection() argument [all …]
|
D | grammar-actions.cc | 129 const Conversation& conversation, in SuggestActions() argument 132 conversation.messages.back().text.empty()) { in SuggestActions() 138 if (!ParseLocales(conversation.messages.back().detected_text_language_tags, in SuggestActions() 144 const int message_index = conversation.messages.size() - 1; in SuggestActions() 146 UTF8ToUnicodeText(conversation.messages.back().text, /*do_copy=*/false), in SuggestActions() 148 text.annotations = conversation.messages.back().annotations; in SuggestActions()
|
D | actions-suggestions.h | 101 const Conversation& conversation, 105 const Conversation& conversation, const Annotator* annotator, 192 const Conversation& conversation, const int num_messages, 198 const Conversation& conversation, const ActionSuggestionOptions& options, 206 const Conversation& conversation, 214 Conversation AnnotateConversation(const Conversation& conversation, 224 const Conversation& conversation, 230 bool GatherActionsSuggestions(const Conversation& conversation,
|
D | lua-ranker.h | 32 const Conversation& conversation, const std::string& ranker_code, 41 const Conversation& conversation, const std::string& ranker_code, in ActionsSuggestionsLuaRanker() argument 45 : conversation_(conversation), in ActionsSuggestionsLuaRanker()
|
D | lua-actions.cc | 56 const std::string& snippet, const Conversation& conversation, in CreateLuaActionsSuggestions() argument 64 snippet, conversation, model_executor, model_spec, interpreter, in CreateLuaActionsSuggestions() 75 const std::string& snippet, const Conversation& conversation, in LuaActionsSuggestions() argument 82 conversation_(conversation), in LuaActionsSuggestions()
|
D | regex-actions.cc | 130 const Conversation& conversation, const int num_messages, in IsLowConfidenceInput() argument 134 conversation.messages[conversation.messages.size() - i].text; in IsLowConfidenceInput() 194 const Conversation& conversation, in SuggestActions() argument 198 const int message_index = conversation.messages.size() - 1; in SuggestActions() 199 const std::string& message = conversation.messages.back().text; in SuggestActions()
|
D | lua-actions.h | 32 const std::string& snippet, const Conversation& conversation, 43 const std::string& snippet, const Conversation& conversation,
|
D | regex-actions.h | 47 const Conversation& conversation, const int num_messages, 57 bool SuggestActions(const Conversation& conversation,
|
D | lua-ranker.cc | 35 const Conversation& conversation, const std::string& ranker_code, in Create() argument 41 conversation, ranker_code, entity_data_schema, in Create()
|
D | ngram-model.cc | 210 const Conversation& conversation, const int num_messages) const { in EvalConversation() argument 214 conversation.messages[conversation.messages.size() - i].text; in EvalConversation()
|
D | actions_jni.cc | 129 const Conversation& conversation, const jstring device_locales, in ActionSuggestionsToJObject() argument 205 device_locales, action_response.actions[i], conversation, in ActionSuggestionsToJObject() 371 Conversation conversation; in FromJavaConversation() local 372 conversation.messages = messages; in FromJavaConversation() 373 return conversation; in FromJavaConversation() 505 TC3_ASSIGN_OR_RETURN_NULL(const Conversation conversation, in TC3_JNI_METHOD() 514 context->model()->SuggestActions(conversation, annotator, options); in TC3_JNI_METHOD() 523 conversation, device_locales, generate_intents)); in TC3_JNI_METHOD()
|
D | actions_model.fbs | 65 // (num messages,) string tensor, each message of the conversation. 68 // int, the number of messages in the conversation. 72 // messages in the conversation. 86 // each message in the conversation. 91 // in the conversation. 197 // limit, tokens at the start of the conversation are dropped. 201 // limit, the conversation is padded with padding tokens. 268 // Whether to suppress all model output when a conversation is classified as 279 // Minimal fraction of messages in the input conversation that need to match
|
D | sensitive-classifier-base.h | 33 const Conversation& conversation, int num_messages) const = 0;
|
D | tflite-sensitive-model.h | 34 std::pair<bool, float> EvalConversation(const Conversation& conversation,
|
/external/icing/icing/util/ |
D | document-validator_test.cc | 135 DocumentProto conversation = SimpleConversationBuilder().Build(); in TEST_F() local 136 EXPECT_THAT(document_validator_->Validate(conversation), IsOk()); in TEST_F() 154 DocumentProto conversation = in TEST_F() local 164 EXPECT_THAT(document_validator_->Validate(conversation), IsOk()); in TEST_F() 297 DocumentProto conversation = in TEST_F() local 307 EXPECT_THAT(document_validator_->Validate(conversation), in TEST_F() 315 DocumentProto conversation = in TEST_F() local 325 EXPECT_THAT(document_validator_->Validate(conversation), in TEST_F() 363 DocumentProto conversation = SimpleConversationBuilder().Build(); in TEST_F() local 366 EXPECT_THAT(document_validator.Validate(conversation), in TEST_F() [all …]
|
/external/libtextclassifier/jni/com/google/android/textclassifier/ |
D | ActionsSuggestionsModel.java | 91 Conversation conversation, ActionSuggestionOptions options, AnnotatorModel annotator) { in suggestActions() argument 94 conversation, in suggestActions() 103 Conversation conversation, in suggestActionsWithIntents() argument 110 conversation, in suggestActionsWithIntents() 378 Conversation conversation, in nativeSuggestActions() argument
|
/external/libtextclassifier/native/utils/intents/ |
D | intent-generator.cc | 81 const Conversation& conversation, const ActionSuggestion& action, in ActionsJniLuaEnvironment() argument 85 conversation_(conversation), in ActionsJniLuaEnvironment() 210 const Conversation& conversation, const jobject context, in GenerateIntents() argument 227 ParseDeviceLocales(device_locales), conversation, action, in GenerateIntents()
|
D | intent-generator-test-lib.cc | 300 local conversation = external.conversation in TEST_F() 304 { name = "timezone", string_value = conversation[#conversation].timezone }, in TEST_F() 305 { name = "num_messages", int_value = #conversation }, in TEST_F() 306 { name = "reference_time", long_value = conversation[#conversation].time_ms_utc } in TEST_F()
|
/external/curl/docs/cmdline-opts/ |
D | mail-rcpt-allowfails.d | 8 conversation if at least one of the recipients causes RCPT TO command to 16 conversation and return the error received from to the last RCPT TO command.
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | ConversationDialogActivity.java | 85 private void formatPages(Conversation conversation, TextView textView) { in formatPages() argument 92 for (int page = conversation.pages.size() - 1; page >= 0 ; page--) { in formatPages() 93 ConversationUtils.ConversationPage currentPage = conversation.pages.get(page); in formatPages() 136 conversation.pages.add(page + addedPages, newPage); in formatPages()
|
/external/libtextclassifier/native/actions/conversation_intent_detection/ |
D | conversation-intent-detection-dummy.h | 37 const Conversation& conversation, const ActionSuggestionOptions& options =
|