Compute Library
 19.08
GCPixelWiseMultiplication Class Reference

Basic function to run GCPixelWiseMultiplicationKernel. More...

#include <GCPixelWiseMultiplication.h>

Collaboration diagram for GCPixelWiseMultiplication:
[legend]

Public Member Functions

void configure (const IGCTensor *input1, const IGCTensor *input2, IGCTensor *output, float scale)
 Initialise the kernel's inputs, output and convertion policy. More...
 
- Public Member Functions inherited from IGCSimpleFunction
 IGCSimpleFunction ()
 Default 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 GCPixelWiseMultiplicationKernel.

Definition at line 35 of file GCPixelWiseMultiplication.h.

Member Function Documentation

◆ configure()

void configure ( const IGCTensor input1,
const IGCTensor input2,
IGCTensor output,
float  scale 
)

Initialise the kernel's inputs, output and convertion policy.

Parameters
[in]input1First tensor input. Data types supported: F32.
[in]input2Second tensor input. Data types supported: Same as input1.
[out]outputOutput tensor. Data types supported: Same as input1.
[in]scaleScale to apply after multiplication. Must be a positive value.

Definition at line 33 of file GCPixelWiseMultiplication.cpp.

34 {
35  auto k = arm_compute::support::cpp14::make_unique<GCPixelWiseMultiplicationKernel>();
36  k->configure(input1, input2, output, scale);
37  _kernel = std::move(k);
38 }

References arm_compute::test::validation::scale.


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