diff options
author | Dmitrii Agibov <dmitrii.agibov@arm.com> | 2022-09-16 13:34:35 +0100 |
---|---|---|
committer | Dmitrii Agibov <dmitrii.agibov@arm.com> | 2022-09-20 16:51:58 +0100 |
commit | c4ad3da5c63abb506833303564bd53e200ee8d97 (patch) | |
tree | 99d3d8f8cbe6068241dd49e3da80594b85793f26 /src/mlia/devices | |
parent | 61684f9a4691449dc8aa129976789e3feab2b713 (diff) | |
download | mlia-c4ad3da5c63abb506833303564bd53e200ee8d97.tar.gz |
Make python syntax consistent across codebase
- Use pyupgrade tool for the syntax upgrade
Change-Id: I3b9ae6cc5da193329e37028cde967ae049388361
Diffstat (limited to 'src/mlia/devices')
-rw-r--r-- | src/mlia/devices/ethosu/reporters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mlia/devices/ethosu/reporters.py b/src/mlia/devices/ethosu/reporters.py index f11430c..9181043 100644 --- a/src/mlia/devices/ethosu/reporters.py +++ b/src/mlia/devices/ethosu/reporters.py @@ -41,7 +41,7 @@ def report_operators_stat(operators: Operators) -> Report: operators.npu_supported_number, Cell( operators.npu_unsupported_ratio * 100, - fmt=Format(str_fmt="{0:.0f}%".format), + fmt=Format(str_fmt="{:.0f}%".format), ), ) ] |