7#include <arm_compute/core/CL/ICLTensor.h>
8#include <arm_compute/core/ITensorInfo.h>
31 arm_compute::ITensorInfo*
info()
const
34 return m_DelegateTensor->info();
37 arm_compute::ITensorInfo*
info()
40 return m_DelegateTensor->info();
46 return m_DelegateTensor->buffer();
52 return m_DelegateTensor->quantization();
58 return m_DelegateTensor->cl_buffer();
66 return m_DelegateTensor->buffer();
71 return m_DelegateTensor->unmap(
q);
75 arm_compute::ICLTensor* m_DelegateTensor{
nullptr };
void do_unmap(cl::CommandQueue &q)
ICLTensorProxy & operator=(ICLTensorProxy &&)=default
void set(arm_compute::ICLTensor *iclTensor)
ICLTensorProxy(arm_compute::ICLTensor *iclTensor)
ICLTensorProxy & operator=(const ICLTensorProxy &)=delete
arm_compute::ITensorInfo * info() const
arm_compute::ITensorInfo * info()
uint8_t * do_map(cl::CommandQueue &q, bool blocking)
arm_compute::CLQuantization quantization() const
const cl::Buffer & cl_buffer() const
ICLTensorProxy(const ICLTensorProxy &)=delete
ICLTensorProxy(ICLTensorProxy &&)=default
Copyright (c) 2021 ARM Limited and Contributors.