Home
last modified time | relevance | path

Searched refs:model_config_ (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/actions/
Dtflite-sensitive-model.cc78 if (model_config_->model_spec()->input_context() >= 0) { in EvalConversation()
79 if (model_config_->model_spec()->input_length_to_pad() > 0) { in EvalConversation()
80 context.resize(model_config_->model_spec()->input_length_to_pad()); in EvalConversation()
83 model_config_->model_spec()->input_context(), context, in EvalConversation()
86 if (model_config_->model_spec()->input_context_length() >= 0) { in EvalConversation()
88 model_config_->model_spec()->input_context_length(), context.size(), in EvalConversation()
93 if (model_config_->model_spec()->input_num_suggestions() > 0) { in EvalConversation()
95 model_config_->model_spec()->input_num_suggestions(), 3, in EvalConversation()
107 model_config_->model_spec()->output_replies(), interpreter.get()); in EvalConversation()
109 model_config_->model_spec()->output_replies_scores(), interpreter.get()); in EvalConversation()
[all …]
Dtflite-sensitive-model.h40 const TFLiteSensitiveClassifierConfig* model_config_ = nullptr; // not owned. variable