24.02.1
|
Go to the documentation of this file.
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
CPU tensor implementation class.
void * map() override
Map tensor to a host pointer.
arm_compute::ITensor * tensor() const override
Get the legacy tensor object.
Interface for CPU tensor.
CpuTensor(IContext *ctx, const AclTensorDescriptor &desc)
Construct a new Cpu Tensor object.
StatusCode unmap() override
Unmap tensor.
Copyright (c) 2017-2024 Arm Limited.
StatusCode allocate()
Allocates tensor.