24.02.1
|
Go to the documentation of this file.
36 struct CLTranspose::Impl
38 const ICLTensor *
src{
nullptr};
39 ICLTensor *
dst{
nullptr};
40 std::unique_ptr<opencl::ClTranspose> op{
nullptr};
57 _impl->op = std::make_unique<opencl::ClTranspose>();
58 _impl->op->configure(compile_context, _impl->src->info(), _impl->dst->info());
void run() override
Run the kernels contained in the function.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLTranspose.
SimpleTensor< float > src
Interface for OpenCL tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
void configure(const ICLTensor *input, ICLTensor *output)
Initialise the kernel's inputs and output.
~CLTranspose()
Destructor.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
CLTranspose()
Constructor.