23.11
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CLACTIVATIONLAYER_H
25 #define ARM_COMPUTE_CLACTIVATIONLAYER_H
34 class CLCompileContext;
113 std::unique_ptr<Impl> _impl;
Base class for all functions.
CLActivationLayer(CLRuntimeContext *ctx=nullptr)
Constructor.
Interface for OpenCL tensor.
void configure(ICLTensor *input, ICLTensor *output, ActivationLayerInfo act_info)
Set the input and output tensor.
Activation Layer Information class.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const ActivationLayerInfo &act_info)
Static function to check if given info will lead to a valid configuration of CLActivationLayer.
~CLActivationLayer()
Destructor.
CLActivationLayer & operator=(const CLActivationLayer &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Copyright (c) 2017-2023 Arm Limited.
void run() override
Run the kernels contained in the function.
Store the tensor's metadata.
Basic function to run opencl::kernels::ClActivationKernel.