Skip to content

Commit

Permalink
Add float instance to time_tests parse_stats (openvinotoolkit#5726)
Browse files Browse the repository at this point in the history
  • Loading branch information
just-sparta authored and rnugmanx committed Aug 26, 2021
1 parent e9612a6 commit 76581e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/time_tests/scripts/run_timetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run_cmd(args: list, log=None, verbose=True):
def parse_stats(stats: dict, res: dict):
"""Parse raw statistics from nested list to flatten dict"""
for element in stats:
if isinstance(element, int):
if isinstance(element, (int, float)):
for k, v in res.items():
if v is None:
res.update({k: element})
Expand Down

0 comments on commit 76581e3

Please sign in to comment.