diff options
author | Ryan OShea <ryan.oshea3@arm.com> | 2023-08-01 17:15:24 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2023-08-03 21:52:34 +0000 |
commit | 7d1b1ca5b25a3aaeecebc537e8cbed2ee1ed3337 (patch) | |
tree | a4ae0db77581214c2d01740496b6d1a77b926aae /python/pyarmnn/setup.py | |
parent | 0f3e9a09a90664fc7c6479f1d7b312a4671d9659 (diff) | |
download | armnn-7d1b1ca5b25a3aaeecebc537e8cbed2ee1ed3337.tar.gz |
IVGCVSW-7952 Output deprecation message when building pyarmnn
* Adds warning message when enabling pyarmnn through CMake
* Adds print out when building pyarmnn through setup.py
* Remove deprecated functions from batch matmul descripter
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I210ddbd0dd2f3b0d260a644bc62b8754375fbebe
Diffstat (limited to 'python/pyarmnn/setup.py')
-rwxr-xr-x | python/pyarmnn/setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pyarmnn/setup.py b/python/pyarmnn/setup.py index 44e810d422..6304ba5d54 100755 --- a/python/pyarmnn/setup.py +++ b/python/pyarmnn/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright © 2020 Arm Ltd. All rights reserved. +# Copyright © 2020, 2023 Arm Ltd. All rights reserved. # Copyright © 2020 NXP and Contributors. All rights reserved. # SPDX-License-Identifier: MIT """Python bindings for Arm NN @@ -265,6 +265,7 @@ class LazyArmnnFinderExtension(Extension): if __name__ == '__main__': + print("WARNING: PyArmNN is deprecated. To use ArmNN on python, please use the tflite delegate. Expected to be removed in release 24.05.") # mandatory extensions pyarmnn_module = LazyArmnnFinderExtension('pyarmnn._generated._pyarmnn', sources=['src/pyarmnn/_generated/armnn_wrap.cpp'], |