aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/Tensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph/Tensor.h')
-rw-r--r--arm_compute/graph/Tensor.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arm_compute/graph/Tensor.h b/arm_compute/graph/Tensor.h
index 0e823ffad0..9fdd56db6e 100644
--- a/arm_compute/graph/Tensor.h
+++ b/arm_compute/graph/Tensor.h
@@ -49,7 +49,7 @@ public:
*/
template <typename AccessorType>
Tensor(std::unique_ptr<AccessorType> accessor)
- : _target(Hint::DONT_CARE), _info(), _accessor(std::move(accessor)), _tensor(nullptr)
+ : _target(TargetHint::DONT_CARE), _info(), _accessor(std::move(accessor)), _tensor(nullptr)
{
}
/** Constructor
@@ -58,7 +58,7 @@ public:
*/
template <typename AccessorType>
Tensor(AccessorType &&accessor)
- : _target(Hint::DONT_CARE), _info(), _accessor(arm_compute::support::cpp14::make_unique<AccessorType>(std::forward<AccessorType>(accessor))), _tensor(nullptr)
+ : _target(TargetHint::DONT_CARE), _info(), _accessor(arm_compute::support::cpp14::make_unique<AccessorType>(std::forward<AccessorType>(accessor))), _tensor(nullptr)
{
}
/** Constructor
@@ -68,7 +68,7 @@ public:
*/
template <typename AccessorType>
Tensor(TensorInfo &&info, AccessorType &&accessor)
- : _target(Hint::DONT_CARE), _info(info), _accessor(arm_compute::support::cpp14::make_unique<AccessorType>(std::forward<AccessorType>(accessor))), _tensor(nullptr)
+ : _target(TargetHint::DONT_CARE), _info(info), _accessor(arm_compute::support::cpp14::make_unique<AccessorType>(std::forward<AccessorType>(accessor))), _tensor(nullptr)
{
}
/** Default Destructor */
@@ -95,7 +95,7 @@ public:
*
* @return
*/
- ITensor *set_target(Hint target);
+ ITensor *set_target(TargetHint target);
/** Returns tensor's TensorInfo
*
* @return TensorInfo of the tensor
@@ -114,10 +114,10 @@ public:
*
* @return Target of the tensor
*/
- Hint target() const;
+ TargetHint target() const;
private:
- Hint _target; /**< Target that this tensor is pinned on */
+ TargetHint _target; /**< Target that this tensor is pinned on */
TensorInfo _info; /**< Tensor metadata */
std::unique_ptr<ITensorAccessor> _accessor; /**< Tensor Accessor */
std::unique_ptr<ITensor> _tensor; /**< Tensor */