Compute Library
 21.02
GEMMLowpReductionKernelInfo Struct Reference

#include <KernelDescriptors.h>

Public Member Functions

 GEMMLowpReductionKernelInfo ()=default
 Default constructor. More...
 
 GEMMLowpReductionKernelInfo (int32_t k, bool is_reshaped, int32_t scalar, bool mul_by_scalar)
 Constructor. More...
 

Data Fields

int32_t k { 0 }
 Number of matrix columns/rows. More...
 
bool is_reshaped { false }
 True if the input tensor has been reshaped. More...
 
int32_t scalar { 0 }
 Scalar value to multiply each reduced column/row by. More...
 
bool mul_by_scalar { false }
 True if each column/row reduction has to be multiplied by a scalar value. More...
 

Detailed Description

Definition at line 153 of file KernelDescriptors.h.

Constructor & Destructor Documentation

◆ GEMMLowpReductionKernelInfo() [1/2]

Default constructor.

◆ GEMMLowpReductionKernelInfo() [2/2]

GEMMLowpReductionKernelInfo ( int32_t  k,
bool  is_reshaped,
int32_t  scalar,
bool  mul_by_scalar 
)
inline

Constructor.

Parameters
[in]kNumber of matrix columns/rows.
[in]is_reshapedTrue if the input tensor has been reshaped.
[in]scalarScalar value to multiply each reduced column/row by.
[in]mul_by_scalarTrue if each column/row reduction has to be multiplied by a scalar value.

Definition at line 164 of file KernelDescriptors.h.

166  {
167  }
int32_t scalar
Scalar value to multiply each reduced column/row by.
int32_t k
Number of matrix columns/rows.
bool is_reshaped
True if the input tensor has been reshaped.
bool mul_by_scalar
True if each column/row reduction has to be multiplied by a scalar value.

Field Documentation

◆ is_reshaped

bool is_reshaped { false }

True if the input tensor has been reshaped.

Definition at line 170 of file KernelDescriptors.h.

Referenced by NEGEMMLowpMatrixAReductionKernel::configure(), and NEGEMMLowpMatrixBReductionKernel::configure().

◆ k

int32_t k { 0 }

Number of matrix columns/rows.

Definition at line 169 of file KernelDescriptors.h.

Referenced by NEGEMMLowpMatrixAReductionKernel::configure(), and NEGEMMLowpMatrixBReductionKernel::configure().

◆ mul_by_scalar

bool mul_by_scalar { false }

◆ scalar


The documentation for this struct was generated from the following file: