23.05
|
Basic function to run kernels::CpuConvertFullyConnectedWeightsKernel. More...
#include <CpuConvertFullyConnectedWeights.h>
Public Member Functions | |
void | configure (const ITensorInfo *src, ITensorInfo *dst, const TensorShape &original_src_shape, DataLayout data_layout) |
Configure operator for a given list of arguments. More... | |
void | run (ITensorPack &tensors) override |
Run the kernels contained in the function. More... | |
![]() | |
INEOperator (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
INEOperator (const INEOperator &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INEOperator (INEOperator &&)=default | |
Default move constructor. More... | |
INEOperator & | operator= (const INEOperator &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INEOperator & | operator= (INEOperator &&)=default |
Default move assignment operator. More... | |
~INEOperator () | |
Default destructor. 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... | |
![]() | |
virtual | ~IOperator ()=default |
Destructor. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *src, const ITensorInfo *dst, const TensorShape &original_src_shape, DataLayout data_layout) |
Static function to check if given info will lead to a valid configuration. More... | |
Basic function to run kernels::CpuConvertFullyConnectedWeightsKernel.
Definition at line 34 of file CpuConvertFullyConnectedWeights.h.
void configure | ( | const ITensorInfo * | src, |
ITensorInfo * | dst, | ||
const TensorShape & | original_src_shape, | ||
DataLayout | data_layout | ||
) |
Configure operator for a given list of arguments.
[in] | src | Source tensor to permute. Data types supported: All |
[out] | dst | Destintation tensor. Data types supported: Same as src |
[in] | original_src_shape | Shape of the original src tensor (the one entering fully connected layer). |
[in] | data_layout | The data layout the weights have been trained in. |
Definition at line 34 of file CpuConvertFullyConnectedWeights.cpp.
References ARM_COMPUTE_LOG_PARAMS, and arm_compute::test::validation::k.
|
overridevirtual |
Run the kernels contained in the function.
[in] | tensors | Vector that contains the tensors to operate on. |
Reimplemented from INEOperator.
Definition at line 47 of file CpuConvertFullyConnectedWeights.cpp.
References Window::DimZ, Scheduler::get(), and IScheduler::schedule_op().
|
static |
Static function to check if given info will lead to a valid configuration.
Similar to CpuConvertFullyConnectedWeights::configure()
Definition at line 42 of file CpuConvertFullyConnectedWeights.cpp.
References CpuConvertFullyConnectedWeightsKernel::validate().
Referenced by NEConvertFullyConnectedWeights::validate(), and CpuFullyConnected::validate().