Searched refs:model_check (Results 1 – 2 of 2) sorted by relevance
105 std::ifstream model_check(params.model_file_path()); in Init() local106 if (!model_check.good()) { in Init()
1237 void CheckCountInRange(const ::toco::ModelFlags::ModelCheck& model_check, in CheckCountInRange() argument1239 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() local1266 std::string count_type = model_check.count_type(); in CheckModelCounts()[all …]