34 struct CLDequantizationLayer::Impl
36 const ICLTensor *
src{
nullptr };
37 ICLTensor *
dst{
nullptr };
38 std::unique_ptr<opencl::ClDequantize> op{
nullptr };
42 : _impl(
std::make_unique<Impl>())
57 _impl->op = std::make_unique<opencl::ClDequantize>();
58 _impl->op->configure(compile_context, input->
info(), output->
info());
~CLDequantizationLayer()
Default Destructor.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLDequantizationLayer.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Store the tensor's metadata.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context...
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
CLDequantizationLayer()
Default Constructor.
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
Interface for OpenCL tensor.
void configure(const ICLTensor *input, ICLTensor *output)
Set the input and output tensors.
void run() override
Run the kernels contained in the function.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.