aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/ICLTensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/CL/ICLTensor.h')
-rw-r--r--arm_compute/core/CL/ICLTensor.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arm_compute/core/CL/ICLTensor.h b/arm_compute/core/CL/ICLTensor.h
index 0f5dba923b..094a0c3dec 100644
--- a/arm_compute/core/CL/ICLTensor.h
+++ b/arm_compute/core/CL/ICLTensor.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2018 ARM Limited.
+ * Copyright (c) 2016-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -26,6 +26,8 @@
#include "arm_compute/core/ITensor.h"
+#include "arm_compute/core/CL/CLTypes.h"
+
#include <cstdint>
namespace cl
@@ -53,6 +55,11 @@ public:
/** Default virtual destructor. */
virtual ~ICLTensor() = default;
+ /** Interface to be implemented by the child class to return the wrapped quantization info data
+ *
+ * @return A wrapped quantization info object.
+ */
+ virtual CLQuantization quantization() const = 0;
/** Interface to be implemented by the child class to return a reference to the OpenCL buffer containing the image's data.
*
* @return A reference to an OpenCL buffer containing the image's data.