From 465582ccb27861182841e03cb8b40fadb9e8c7d8 Mon Sep 17 00:00:00 2001 From: Tim Hall Date: Tue, 26 May 2020 09:33:14 +0100 Subject: vela: Fix tensor purpose for some CPU only ops - Add support for marking the tensor purpose of CPU only ops such as LESS which mark their input based upon their output Signed-off-by: Tim Hall Change-Id: Ia7898089f0b18ccd4f183e2ef961a67f4d169e4c --- ethosu/vela/architecture_features.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ethosu/vela/architecture_features.py') diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py index b59122ea..f1cabdd1 100644 --- a/ethosu/vela/architecture_features.py +++ b/ethosu/vela/architecture_features.py @@ -243,6 +243,7 @@ Note the difference between ArchitectureFeatures and CompilerOptions self.tensor_storage_mem_area = { # permanent mem_area + TensorPurpose.Unknown: MemArea.Unknown, TensorPurpose.Weights: self.permanent_storage_mem_area, TensorPurpose.FeatureMap: self.feature_map_storage_mem_area, } -- cgit v1.2.1