35 struct CLConvertFullyConnectedWeights::Impl
37 const ICLTensor *
src{
nullptr };
38 ICLTensor *
dst{
nullptr };
39 std::unique_ptr<opencl::ClConvertFullyConnectedWeights> op{
nullptr };
42 : _impl(
std::make_unique<Impl>())
59 _impl->op = std::make_unique<opencl::ClConvertFullyConnectedWeights>();
60 _impl->op->configure(compile_context, _impl->src->info(), _impl->dst->info(), original_input_shape,
data_layout);
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const TensorShape &original_src_shape, DataLayout data_layout)
Static function to check if given info will lead to a valid configuration.
const DataLayout data_layout
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...
~CLConvertFullyConnectedWeights()
Destructor.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
void run() override
Run the kernels contained in the function.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const TensorShape &original_input_shape, DataLayout data_layout)
Static function to check if given info will lead to a valid configuration of CLConvertFullyConnectedW...
Interface for OpenCL tensor.
CLConvertFullyConnectedWeights()
Constructor.
void configure(const ICLTensor *input, ICLTensor *output, const TensorShape &original_input_shape, DataLayout data_layout)
Initialize the function.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
DataLayout
[DataLayout enum definition]
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.