24 #ifndef ARM_COMPUTE_NECONVERTFULLYCONNECTEDWEIGHTSKERNEL_H 25 #define ARM_COMPUTE_NECONVERTFULLYCONNECTEDWEIGHTSKERNEL_H 45 const char *
name()
const override 47 return "NEConvertFullyConnectedWeightsKernel";
87 void run_convert_fc_weights(
const Window &window);
91 unsigned int _factor1;
92 unsigned int _factor2;
const Window & window() const
The maximum window the kernel can be executed on.
const char * name() const override
Name of the kernel.
NEConvertFullyConnectedWeightsKernel & operator=(const NEConvertFullyConnectedWeightsKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Common interface for all kernels implemented in C++.
const DataLayout data_layout
Store the tensor's metadata.
NEConvertFullyConnectedWeightsKernel()
Default constructor.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const TensorShape &original_input_shape, DataLayout data_layout)
Static function to check if given info will lead to a valid configuration of NEConvertFullyConnectedW...
Interface to convert the 2D Fully Connected weights from NCHW to NHWC or vice versa.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
void configure(const ITensor *input, ITensor *output, const TensorShape &original_input_shape, DataLayout data_layout)
Set the input and output tensor.
~NEConvertFullyConnectedWeightsKernel()=default
Default destructor.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
DataLayout
[DataLayout enum definition]
Describe a multidimensional execution window.