35 auto k = std::make_unique<kernels::ClPermuteKernel>();
36 k->configure(compile_context, src, dst, perm);
37 _kernel = std::move(k);
Store the tensor's metadata.
void configure(const CLCompileContext &compile_context, const ITensorInfo *src, ITensorInfo *dst, const PermutationVector &perm)
Initialise the kernel's inputs and outputs and permute vector.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
Strides of an item in bytes.
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.
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.