Lines Matching refs:model_config_
78 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()
115 if (score >= model_config_->threshold()) { in EvalConversation()
125 : model_config_(model_config), in TFLiteSensitiveModel()