Searched refs:model_context (Results 1 – 1 of 1) sorted by relevance
/external/libtextclassifier/native/annotator/ |
D | annotator_jni.cc | 127 JNIEnv* env, const AnnotatorJniContext* model_context, jobject app_context, in ClassificationResultWithIntentsToJObject() argument 247 if (model_context->model()->entity_data_schema() != nullptr && in ClassificationResultWithIntentsToJObject() 251 model_context->template_handler()->EntityDataAsNamedVariantArray( in ClassificationResultWithIntentsToJObject() 252 model_context->model()->entity_data_schema(), in ClassificationResultWithIntentsToJObject() 272 if (generate_intents && model_context->intent_generator() != nullptr) { in ClassificationResultWithIntentsToJObject() 274 if (!model_context->intent_generator()->GenerateIntents( in ClassificationResultWithIntentsToJObject() 277 app_context, model_context->model()->entity_data_schema(), in ClassificationResultWithIntentsToJObject() 284 model_context->template_handler()->RemoteActionTemplatesToJObjectArray( in ClassificationResultWithIntentsToJObject() 304 JNIEnv* env, const AnnotatorJniContext* model_context, jobject app_context, in ClassificationResultsWithIntentsToJObjectArray() argument 354 env, model_context, app_context, result_class.get(), in ClassificationResultsWithIntentsToJObjectArray() [all …]
|