diff --git a/sw/dnn/gelu/verify.py b/sw/dnn/gelu/verify.py index cdcf1a4ec2..eadc5e1da4 100755 --- a/sw/dnn/gelu/verify.py +++ b/sw/dnn/gelu/verify.py @@ -51,7 +51,7 @@ def main(): ofmap_actual = from_buffer(raw_results['ofmap'], ctype_from_precision_t(prec)) ofmap_golden = golden_model(ifmap).detach().numpy().flatten() - fail, rel_err = check_result(ofmap_golden, ofmap_actual, rtol=ERR_THRESHOLD) + fail, rel_err = check_result(ofmap_actual, ofmap_golden, rtol=ERR_THRESHOLD) # Print results if fail: