24 #ifndef ARM_COMPUTE_CLPRELULAYER_H 25 #define ARM_COMPUTE_CLPRELULAYER_H 32 class CLCompileContext;
36 namespace experimental
125 std::unique_ptr<Impl> _impl;
Basic function to run opencl::kernels::ClArithmeticKernel for PRELU.
Base class for all functions.
ICLOperator & operator=(const ICLOperator &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Store the tensor's metadata.
Copyright (c) 2017-2021 Arm Limited.
static Status validate(const ITensorInfo *input, const ITensorInfo *alpha, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLPReluLayer.
CLPReluLayer()
Default Constructor.
Interface for OpenCL tensor.
Basic interface for functions which have a single async CL kernel.
Basic function to run arm_compute::opencl::kernels::ClArithmeticKernel for PRELU. ...
void configure(const CLCompileContext &compile_context, ITensorInfo *input, ITensorInfo *alpha, ITensorInfo *output)
Set the input and output tensor.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.