23.11
|
Go to the documentation of this file.
33 struct NEGEMMLowpOutputStage::Impl
35 const ITensor *
src{
nullptr};
36 const ITensor *
bias{
nullptr};
37 ITensor *
dst{
nullptr};
38 ITensorPack run_pack{};
39 std::unique_ptr<cpu::CpuGemmLowpOutputStage> op{
nullptr};
59 _impl->op = std::make_unique<cpu::CpuGemmLowpOutputStage>();
60 _impl->op->configure(
input->info(), (
bias ==
nullptr) ?
nullptr :
bias->info(), output->
info(),
info);
76 _impl->op->run(_impl->run_pack);
SimpleTensor< float > src
void configure(const ITensor *input, const ITensor *bias, ITensor *output, const GEMMLowpOutputStageInfo &info)
Initialise the kernel's inputs, output.
GEMMLowp output stage info.
static Status validate(const ITensorInfo *input, const ITensorInfo *bias, const ITensorInfo *output, const GEMMLowpOutputStageInfo &info)
Static function to check if given info will lead to a valid configuration of NEGEMMLowpOutputStage.
Interface for CPU tensor.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
#define ARM_COMPUTE_ERROR_THROW_ON(status)
~NEGEMMLowpOutputStage()
Default destructor.
void run() override
Run the kernels contained in the function.
NEGEMMLowpOutputStage()
Constructor.
Copyright (c) 2017-2023 Arm Limited.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
static Status validate(const ITensorInfo *src, const ITensorInfo *bias, const ITensorInfo *dst, const GEMMLowpOutputStageInfo &info)
Static function to check if given info will lead to a valid configuration.