*/
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
*/
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
*/
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 */
*
* @return
*/
- ITensor *set_target(Hint target);
+ ITensor *set_target(TargetHint target);
/** Returns tensor's TensorInfo
*
* @return TensorInfo of the tensor
*
* @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 */