code formatting updates
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
This commit is contained in:
committed by
Karl W. Schulz
parent
4bcbc73080
commit
79b877d679
@@ -358,7 +358,10 @@ def baseline_compare_metric(test_name, workload_dir, args=[]):
|
||||
)
|
||||
|
||||
isValid = (
|
||||
(abs(absolute_diff) <= METRIC_THRESHOLDS[metric_idx]["absolute"])
|
||||
(
|
||||
abs(absolute_diff)
|
||||
<= METRIC_THRESHOLDS[metric_idx]["absolute"]
|
||||
)
|
||||
if (threshold_type == "absolute")
|
||||
else (
|
||||
abs(relative_diff)
|
||||
|
||||
Reference in New Issue
Block a user