Lines Matching refs:baseline
178 baseline = next(filter(lambda x: x.backend_type == BASELINE_BACKEND,
180 other = sorted(filter(lambda x: x is not baseline, results),
183 baseline=baseline,
191 if known_group[0].match(results_with_bl.baseline.name):
291 def generate_accuracy_values(baseline, result): argument
295 if result is baseline:
302 base = [float(x) * 100.0 for x in baseline.evaluator_values]
314 if result is baseline:
325 baseline.evaluator_values + [baseline.max_single_error]]
338 if result is baseline:
347 baseline.evaluator_values + [baseline.max_single_error]]
368 def generate_avg_ms(baseline, latency): argument
371 latency = baseline
374 if latency is baseline:
376 baseline_avg_ms = (baseline.total_time_sec / baseline.iterations)*1000.0
386 def generate_result_entry(baseline, result): argument
388 result = baseline
396 accuracy_values=generate_accuracy_values(baseline, result),
397 avg_ms=generate_avg_ms(baseline.inference_latency, result.inference_latency))
425 results = [results_with_bl.baseline] + results_with_bl.other
452 for result in [result_and_bl.baseline] + result_and_bl.other:
502 entries_group[0].baseline),
505 baseline=generate_result_entry(
506 result_and_bl.baseline, None),
509 result_and_bl.baseline, x)
516 name=result_and_bl.baseline.name,
528 name=result_and_bl.baseline.name,