24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPU_CONVERT_FULLYCONNECTED_WEIGHTS_KERNEL_H
25 #define ARM_COMPUTE_CPU_CONVERT_FULLYCONNECTED_WEIGHTS_KERNEL_H
73 const char *
name()
const override;
76 unsigned int _factor1{
78 unsigned int _factor2{
SimpleTensor< float > src
void configure(const ITensorInfo *src, ITensorInfo *dst, const TensorShape &original_input_shape, DataLayout data_layout)
Set the src and dst tensor.
DataLayout
[DataLayout enum definition]
CpuConvertFullyConnectedWeightsKernel()=default
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
constexpr auto data_layout
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuConvertFullyConnectedWeightsKernel)
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const TensorShape &original_input_shape, DataLayout data_layout)
Static function to check if given info will lead to a valid configuration.
Copyright (c) 2017-2024 Arm Limited.
Interface to convert the 2D Fully Connected weights from NCHW to NHWC or vice versa.
Store the tensor's metadata.
const char * name() const override
Name of the kernel.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)