aboutsummaryrefslogtreecommitdiff
path: root/python/pyarmnn/test/test_runtime.py
diff options
context:
space:
mode:
authorJames Conroy <james.conroy@arm.com>2022-06-21 11:31:47 +0000
committerJames Conroy <james.conroy@arm.com>2022-06-21 11:31:47 +0000
commita0f8b15d4ddb5075f380003ff31b271d389d3b66 (patch)
tree5a4f351ee688bd760449c82c455b0e324b11f88d /python/pyarmnn/test/test_runtime.py
parent03bf98a8bc51ad20eef4b9ca5fbf6ce15e063721 (diff)
downloadarmnn-a0f8b15d4ddb5075f380003ff31b271d389d3b66.tar.gz
Revert "IVGCVSW-6873 Import inputs but don't export outputs fails."
This reverts commit 03bf98a8bc51ad20eef4b9ca5fbf6ce15e063721. Reason for revert: Caused failures in tests located in internal repo. Change-Id: If35cb0ede349b270e4e7827324382e09455d8cfa
Diffstat (limited to 'python/pyarmnn/test/test_runtime.py')
-rw-r--r--python/pyarmnn/test/test_runtime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pyarmnn/test/test_runtime.py b/python/pyarmnn/test/test_runtime.py
index a6c4e1dcc0..a37772c5df 100644
--- a/python/pyarmnn/test/test_runtime.py
+++ b/python/pyarmnn/test/test_runtime.py
@@ -156,8 +156,8 @@ def test_load_network_properties_provided(random_runtime):
opt_network, _ = ann.Optimize(network, preferred_backends,
runtime.GetDeviceSpec(), ann.OptimizerOptions())
- inputSource = ann.MemorySource_Undefined
- outputSource = ann.MemorySource_Undefined
+ inputSource = ann.MemorySource_Malloc
+ outputSource = ann.MemorySource_Malloc
properties = ann.INetworkProperties(False, inputSource, outputSource)
net_id, messages = runtime.LoadNetwork(opt_network, properties)
assert "" == messages