aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/experimental
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2020-06-18 10:14:57 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2020-06-19 14:35:22 +0000
commitce0c67559cf03965acc8f212263a9f53205a0a3f (patch)
treec37105c72538108c46e5964cf49d15acd2d85980 /arm_compute/core/experimental
parent3be0b8c8d4e90bd264e9575dc2b6994ce8e14d50 (diff)
downloadComputeLibrary-ce0c67559cf03965acc8f212263a9f53205a0a3f.tar.gz
COMPMID-3377: Async support to NEElementwiseUnaryLayerKernel kernels/functions
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Change-Id: I208287b44ece051e95f891d43a691cb0ac6e56c5 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3419 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/experimental')
-rw-r--r--arm_compute/core/experimental/Types.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/arm_compute/core/experimental/Types.h b/arm_compute/core/experimental/Types.h
index 2b5591872a..62dd6ff305 100644
--- a/arm_compute/core/experimental/Types.h
+++ b/arm_compute/core/experimental/Types.h
@@ -50,29 +50,9 @@ enum class TensorType
ACL_INT_2 = 52
};
-/** Input tensor aggregate */
-struct InputTensor
-{
- InputTensor(TensorType type, const ITensor *tensor)
- : type(type), tensor(tensor)
- {
- }
-
- TensorType type{ TensorType::ACL_UNKNOWN };
- const ITensor *tensor{ nullptr };
-};
-/** Output tensor aggregate */
-struct OutputTensor
-{
- OutputTensor(TensorType type, ITensor *tensor)
- : type(type), tensor(tensor)
- {
- }
-
- TensorType type{ TensorType::ACL_UNKNOWN };
- ITensor *tensor{ nullptr };
-};
-using OperatorTensor = OutputTensor;
+using InputTensorMap = std::map<TensorType, const ITensor *>;
+using OutputTensorMap = std::map<TensorType, ITensor *>;
+using OperatorTensorMap = OutputTensorMap;
namespace experimental
{