Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Sep 13, 2023
1 parent f4d54fe commit e24f190
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ def parse_args():
type=str,
default='gpu',
help='Specify where the tests execute (ref, gpu)')
parser.add_argument('--fp16',
action='store_true',
help='Quantize to fp16')
parser.add_argument('--fp16', action='store_true', help='Quantize to fp16')
parser.add_argument('--atol',
type=float,
default=1e-3,
Expand Down Expand Up @@ -292,7 +290,10 @@ def main():
output_data = run_one_case(model, input_data)

# check output correctness
ret = check_correctness(gold_outputs, output_data, atol=args.atol, rtol=args.rtol)
ret = check_correctness(gold_outputs,
output_data,
atol=args.atol,
rtol=args.rtol)
if ret:
correct_num += 1

Expand Down

0 comments on commit e24f190

Please sign in to comment.