24.02
|
Basic function to run kernels::ClPermuteKernel. More...
#include <ClPermute.h>
Public Member Functions | |
void | configure (const CLCompileContext &compile_context, const ITensorInfo *src, ITensorInfo *dst, const PermutationVector &perm) |
Initialise the kernel's inputs and outputs and permute vector. More... | |
Public Member Functions inherited from ICLOperator | |
ICLOperator (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLOperator (const ICLOperator &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator (ICLOperator &&)=default | |
Default move constructor. More... | |
ICLOperator & | operator= (const ICLOperator &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator & | operator= (ICLOperator &&)=default |
Default move assignment operator. More... | |
void | run (ITensorPack &tensors) override |
Run the kernels contained in the function. More... | |
void | prepare (ITensorPack &constants) override |
Prepare the function for executing. More... | |
MemoryRequirements | workspace () const override |
Return the memory requirements required by the workspace. More... | |
Public Member Functions inherited from IOperator | |
virtual | ~IOperator ()=default |
Destructor. More... | |
Static Public Member Functions | |
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. More... | |
Basic function to run kernels::ClPermuteKernel.
Definition at line 35 of file ClPermute.h.
void configure | ( | const CLCompileContext & | compile_context, |
const ITensorInfo * | src, | ||
ITensorInfo * | dst, | ||
const PermutationVector & | perm | ||
) |
Initialise the kernel's inputs and outputs and permute vector.
[in] | compile_context | The compile context to be used. |
[in] | src | The src tensor info. Data types supported: All. |
[in] | dst | The dst tensor info. Data types supported: Same as src |
[in] | perm | Permutation vector |
Definition at line 34 of file ClPermute.cpp.
References ARM_COMPUTE_LOG_PARAMS, arm_compute::test::validation::dst, and arm_compute::test::validation::src.
|
static |
Static function to check if given info will lead to a valid configuration.
Similar to ClPermute::configure()
Definition at line 45 of file ClPermute.cpp.
References arm_compute::test::validation::dst, arm_compute::test::validation::src, and ClPermuteKernel::validate().
Referenced by CLPermute::validate().