Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dtflite_inference_stage.cc105 std::ifstream model_check(params.model_file_path()); in Init() local
106 if (!model_check.good()) { in Init()
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc1237 void CheckCountInRange(const ::toco::ModelFlags::ModelCheck& model_check, in CheckCountInRange() argument
1239 if (model_check.count_min() >= 0) { in CheckCountInRange()
1240 CHECK_GE(count, model_check.count_min()) in CheckCountInRange()
1243 << (model_check.count_max() > model_check.count_min() ? "minimum" in CheckCountInRange()
1245 << " was " << model_check.count_min() << "."; in CheckCountInRange()
1247 if (model_check.count_max() > model_check.count_min()) { in CheckCountInRange()
1248 CHECK_LE(count, model_check.count_max()) in CheckCountInRange()
1250 << ", but the specified maximum was " << model_check.count_max() << "."; in CheckCountInRange()
1265 for (const auto& model_check : model.flags.model_checks()) { in CheckModelCounts() local
1266 std::string count_type = model_check.count_type(); in CheckModelCounts()
[all …]