24 #ifndef SRC_CPU_CPUTENSOR_H 25 #define SRC_CPU_CPUTENSOR_H 58 std::unique_ptr<Tensor> _legacy_tensor;
Base class specifying the tensor interface.
decltype(strategy::transforms) typedef type
Interface for CPU tensor.
Copyright (c) 2017-2021 Arm Limited.
void * map() override
Map tensor to a host pointer.
StatusCode allocate()
Allocates tensor.
CpuTensor(IContext *ctx, const AclTensorDescriptor &desc)
Construct a new Cpu Tensor object.
arm_compute::ITensor * tensor() const override
Get the legacy tensor object.
StatusCode unmap() override
Unmap tensor.
CPU tensor implementation class.