Lines Matching refs:baseline
110 baseline = next(filter(lambda x: x.backend_type == BASELINE_BACKEND,
112 other = sorted(filter(lambda x: x is not baseline, results),
115 baseline=baseline,
123 if known_group[0].match(results_with_bl.baseline.name):
139 for result in [results_with_bl.baseline] + results_with_bl.other:
219 def generate_accuracy_values(baseline, result): argument
223 if result is baseline:
230 base = [float(x) * 100.0 for x in baseline.evaluator_values]
242 if result is baseline:
253 baseline.evaluator_values + [baseline.max_single_error]]
266 if result is baseline:
275 baseline.evaluator_values + [baseline.max_single_error]]
296 def generate_avg_ms(baseline, result): argument
299 result = baseline
302 if result is baseline:
304 baseline_avg_ms = (baseline.total_time_sec / baseline.iterations)*1000.0
314 def generate_result_entry(baseline, result): argument
316 result = baseline
324 accuracy_values=generate_accuracy_values(baseline, result),
325 avg_ms=generate_avg_ms(baseline, result))
343 for result in [result_and_bl.baseline] + result_and_bl.other:
369 entries_group[0].baseline),
372 baseline=generate_result_entry(
373 result_and_bl.baseline, None),
376 result_and_bl.baseline, x)
383 name=result_and_bl.baseline.name,
384 baseline=generate_latency_graph_entry(
385 result_and_bl.baseline, result_and_bl),