24 #ifndef ARM_COMPUTE_CLFULLYCONNECTEDLAYER_H 25 #define ARM_COMPUTE_CLFULLYCONNECTEDLAYER_H 71 namespace weights_transformations
80 _output.allocator()->allocate();
88 _output.allocator()->free();
98 uint32_t
uid()
override 118 _func.configure(compile_context, input, &_output);
122 static constexpr uint32_t _uid = 0x0;
222 bool _are_weights_converted;
223 bool _are_weights_reshaped;
224 bool _is_fc_after_conv;
Basic function to compute a Fully Connected layer on OpenCL.
Base class for all functions.
Fully connected layer info.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Store the tensor's metadata.
Copyright (c) 2017-2021 Arm Limited.
Basic function to run CLConvertFullyConnectedWeightsKernel.
Basic function to execute flatten.
void run() override final
Run the kernels contained in the function.
virtual void prepare()
Prepare the function for executing.
Basic function to execute GEMM on OpenCL.
Basic interface for functions which have a single OpenCL kernel.
Weights manager interface to handle weights transformations.
ICLSimpleFunction & operator=(const ICLSimpleFunction &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Basic function to reshape the weights of Fully Connected layer with OpenCL.
Interface for OpenCL tensor.
void configure(const ICLTensor *input, ICLTensor *output)
Set the input and output tensors.
Basic function to execute GEMMLowpMatrixMultiplyCore on OpenCL.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLFullyConnectedLayerRes...
Basic implementation of the OpenCL tensor interface.