Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Update benchmark_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sxjscience committed Aug 10, 2020
1 parent 37f224f commit 9e0f631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/benchmarks/benchmark_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ def save_to_csv(self, result_dict, filename):
"model": model_name,
"batch_size": bs,
"sequence_length": ss,
'latency': str(int(latency * 1000)) if not np.isnan(latency) else str(np.nan),
'latency': str(round(latency * 1000)) if not np.isnan(latency) else str(np.nan),
'memory': str(memory),
}
)

0 comments on commit 9e0f631

Please sign in to comment.