Skip to content

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 2fd7e3b commit 1955197
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 @@ -1000,7 +1000,7 @@ def save_to_csv(self, result_dict, filename):
"model": model_name,
"batch_size": bs,
"sequence_length": ss,
'latency': str(int(latency * 1000)),
'latency': str(int(latency * 1000)) if latency is not np.nan else str(np.nan),
'memory': str(memory),
}
)

0 comments on commit 1955197

Please sign in to comment.