Compute Library
CPPUpsample Class Reference

Basic function to run CPPUpsample. More...

#include <CPPUpsample.h>

Collaboration diagram for CPPUpsample:

Public Member Functions

void configure (const ITensor *input, ITensor *output, const PadStrideInfo &info)
 Configure the upsample CPP kernel. More...
- Public Member Functions inherited from ICPPSimpleFunction
 ICPPSimpleFunction ()
 Constructor. More...
void run () override final
 Run the kernels contained in the function. More...
- Public Member Functions inherited from IFunction
virtual ~IFunction ()=default
 Destructor. More...
virtual void prepare ()
 Prepare the function for executing. More...

Detailed Description

Basic function to run CPPUpsample.

Definition at line 36 of file CPPUpsample.h.

Member Function Documentation

◆ configure()

void configure ( const ITensor input,
ITensor output,
const PadStrideInfo info 

Configure the upsample CPP kernel.

[in]inputThe input tensor to upsample. Data types supported: All.
[out]outputThe output tensor. Data types supported: same as input
[in]infoPadding information

Definition at line 30 of file CPPUpsample.cpp.

31 {
32  auto k = std::make_unique<CPPUpsampleKernel>();
33  k->configure(input, output, info);
34  _kernel = std::move(k);
35 }
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)

References arm_compute::test::validation::info, and arm_compute::test::validation::input.

Referenced by NEDeconvolutionLayer::configure().

The documentation for this class was generated from the following files: