aboutsummaryrefslogtreecommitdiff
path: root/python/pyarmnn/test/test_runtime.py
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2022-06-21 13:16:23 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2022-06-22 08:36:28 +0000
commit626bd90378670eb5fd76f94526395430b752ad9e (patch)
treefa3c41a9ed7506f0bf5eb2b940f8661d2bf47adf /python/pyarmnn/test/test_runtime.py
parentb9570c1a5b938aea20964e3b6a8164e9bf096b4c (diff)
downloadarmnn-626bd90378670eb5fd76f94526395430b752ad9e.tar.gz
Revert "Revert "IVGCVSW-6873 Import inputs but don't export outputs fails.""
This reverts commit a0f8b15d4ddb5075f380003ff31b271d389d3b66. Reason for revert: <Test ClDmaBufInternalTests review > Change-Id: Ibc4a77fa008643849da7330391942e4c87b941e2
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 a37772c5df..a6c4e1dcc0 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_Malloc
- outputSource = ann.MemorySource_Malloc
+ inputSource = ann.MemorySource_Undefined
+ outputSource = ann.MemorySource_Undefined
properties = ann.INetworkProperties(False, inputSource, outputSource)
net_id, messages = runtime.LoadNetwork(opt_network, properties)
assert "" == messages