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 | |
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')
-rw-r--r-- | src/mlia/core/common.py | 8 | ||||
-rw-r--r-- | src/mlia/core/helpers.py | 2 |
2 files changed, 8 insertions, 2 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: diff --git a/src/mlia/core/helpers.py b/src/mlia/core/helpers.py index f0c4474..f4a9df6 100644 --- a/src/mlia/core/helpers.py +++ b/src/mlia/core/helpers.py @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. # SPDX-License-Identifier: Apache-2.0 """Module for various helper classes.""" -# pylint: disable=no-self-use, unused-argument +# pylint: disable=unused-argument from __future__ import annotations from typing import Any |