24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CLFULLYCONNECTEDLAYER_H
25 #define ARM_COMPUTE_CLFULLYCONNECTEDLAYER_H
119 std::unique_ptr<Impl> _impl;
CLFullyConnectedLayer(std::shared_ptr< IMemoryManager > memory_manager=nullptr, IWeightsManager *weights_manager=nullptr)
Constructor.
Base class for all functions.
void prepare() override
Prepare the function for executing.
void run() override
Run the kernels contained in the function.
Interface for OpenCL tensor.
CLFullyConnectedLayer & operator=(const CLFullyConnectedLayer &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
~CLFullyConnectedLayer()
Default destructor.
Fully connected layer info.
void configure(const CLCompileContext &compile_context, const ICLTensor *input, const ICLTensor *weights, const ICLTensor *biases, ICLTensor *output, FullyConnectedLayerInfo fc_info=FullyConnectedLayerInfo())
Set the input and output tensors.
Basic function to compute a Fully Connected layer on OpenCL.
static Status validate(const ITensorInfo *input, const ITensorInfo *weights, const ITensorInfo *biases, const ITensorInfo *output, FullyConnectedLayerInfo fc_info=FullyConnectedLayerInfo())
Static function to check if given info will lead to a valid configuration of CLFullyConnectedLayer.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
Weights manager interface to handle weights transformations.