24.02
|
Go to the documentation of this file.
32 struct NEConvertFullyConnectedWeights::Impl
34 const ITensor *
src{
nullptr};
35 ITensor *
dst{
nullptr};
36 std::unique_ptr<cpu::CpuConvertFullyConnectedWeights> op{
nullptr};
52 _impl->op = std::make_unique<cpu::CpuConvertFullyConnectedWeights>();
53 _impl->op->configure(_impl->src->info(), _impl->dst->info(), original_input_shape,
data_layout);
SimpleTensor< float > src
DataLayout
[DataLayout enum definition]
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 NEConvertFullyConnectedW...
NEConvertFullyConnectedWeights()
Default constructor.
Interface for CPU tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
constexpr auto data_layout
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
void configure(const ITensor *input, ITensor *output, const TensorShape &original_input_shape, DataLayout data_layout)
Initialize the function.
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.
~NEConvertFullyConnectedWeights()
Default destructor.
Copyright (c) 2017-2024 Arm Limited.
void run() override
Run the kernels contained in the function.
Store the tensor's metadata.