aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMatthew Bentham <matthew.bentham@arm.com>2023-02-23 13:03:46 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2023-02-28 12:36:12 +0000
commitaeec3ce5c8f936fb1220a9de8c84cceef88d4080 (patch)
tree87e676cecdd4f81be53e33c484721f9448e313a2 /python
parent2a764ade6b5bf88cba0c43303291e0352ec3354c (diff)
downloadarmnn-aeec3ce5c8f936fb1220a9de8c84cceef88d4080.tar.gz
Add constant version of IConnectableLayer::GetConstantTensorsByRef
This makes it easier to use, particularly in backends where it is common to pass around const pointers to IConnectableLayer. The non-constant version is rewritten to use the constant version. Signed-off-by: Matthew Bentham <matthew.bentham@arm.com> Change-Id: Id3a8384447e93c213299a85ade9a667df5960534
Diffstat (limited to 'python')
-rw-r--r--python/pyarmnn/src/pyarmnn/_version.py2
-rw-r--r--python/pyarmnn/test/test_version.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/python/pyarmnn/src/pyarmnn/_version.py b/python/pyarmnn/src/pyarmnn/_version.py
index 4501f88ab5..f7decd3eb3 100644
--- a/python/pyarmnn/src/pyarmnn/_version.py
+++ b/python/pyarmnn/src/pyarmnn/_version.py
@@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT
import os
-version_info = (32, 0, 0)
+version_info = (32, 1, 0)
__dev_version_env = os.getenv("PYARMNN_DEV_VER", "")
diff --git a/python/pyarmnn/test/test_version.py b/python/pyarmnn/test/test_version.py
index 145fc3bc04..8ba93efd3d 100644
--- a/python/pyarmnn/test/test_version.py
+++ b/python/pyarmnn/test/test_version.py
@@ -18,7 +18,7 @@ def test_dev_version():
importlib.reload(v)
- assert "32.0.0.dev1" == v.__version__
+ assert "32.1.0.dev1" == v.__version__
del os.environ["PYARMNN_DEV_VER"]
del v
@@ -30,7 +30,7 @@ def test_arm_version_not_affected():
importlib.reload(v)
- assert "32.0.0" == v.__arm_ml_version__
+ assert "32.1.0" == v.__arm_ml_version__
del os.environ["PYARMNN_DEV_VER"]
del v