diff options
author | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-11-07 12:57:15 +0000 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-11-11 12:10:26 +0000 |
commit | ce9b17650d024886b24ad820f0f1815fc23b19f3 (patch) | |
tree | a7d113f751b8856aabcd021464edec16e23ba6f8 /src/mlia/core/common.py | |
parent | e40a7adadd254e29d71af38f69a0a20ff4871eef (diff) | |
download | mlia-ce9b17650d024886b24ad820f0f1815fc23b19f3.tar.gz |
MLIA-701 Update dependencies
- Update TensorFlow dependencies for x86_64
- Adapt unit tests to new TensorFlow version
- Update linters (including pre-commit hooks) and fix issues
- Use conditional import to fix tflite compat code for aarch64
Change-Id: I1a9b080b900ab65e38f7f2552562822bbfdcd259
Diffstat (limited to 'src/mlia/core/common.py')
-rw-r--r-- | src/mlia/core/common.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mlia/core/common.py b/src/mlia/core/common.py index 63fb324..6c9dde1 100644 --- a/src/mlia/core/common.py +++ b/src/mlia/core/common.py @@ -29,7 +29,13 @@ class AdviceCategory(Flag): OPERATORS = auto() PERFORMANCE = auto() OPTIMIZATION = auto() - ALL = OPERATORS | PERFORMANCE | OPTIMIZATION + ALL = ( + # pylint: disable=unsupported-binary-operation + OPERATORS + | PERFORMANCE + | OPTIMIZATION + # pylint: enable=unsupported-binary-operation + ) @classmethod def from_string(cls, value: str) -> AdviceCategory: |