24.02.1
|
Go to the documentation of this file.
37 struct CLPermute::Impl
39 const ICLTensor *
src{
nullptr};
40 ICLTensor *
dst{
nullptr};
41 std::unique_ptr<opencl::ClPermute> op{
nullptr};
66 _impl->op = std::make_unique<opencl::ClPermute>();
67 _impl->op->configure(compile_context, _impl->src->info(), _impl->dst->info(), perm);
SimpleTensor< float > src
void run() override
Run the kernels contained in the function.
Interface for OpenCL tensor.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PermutationVector &perm)
Static function to check if given info will lead to a valid configuration of CLPermute.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const PermutationVector &perm)
Static function to check if given info will lead to a valid configuration.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context.
Strides of an item in bytes.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
void configure(const ICLTensor *input, ICLTensor *output, const PermutationVector &perm)
Set the input and output tensors.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
#define ARM_COMPUTE_LOG_PARAMS(...)