Compute Library
 23.11
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 177 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 188 of file KernelDescriptors.h.

Field Documentation

◆ is_reshaped

bool is_reshaped {false}

True if the input tensor has been reshaped.

Definition at line 194 of file KernelDescriptors.h.

◆ k

int32_t k {0}

Number of matrix columns/rows.

Definition at line 193 of file KernelDescriptors.h.

◆ mul_by_scalar

bool mul_by_scalar {false}

True if each column/row reduction has to be multiplied by a scalar value.

Definition at line 196 of file KernelDescriptors.h.

◆ scalar

int32_t scalar {0}

Scalar value to multiply each reduced column/row by.

Definition at line 195 of file KernelDescriptors.h.


The documentation for this struct was generated from the following file:
arm_compute::GEMMLowpReductionKernelInfo::scalar
int32_t scalar
Scalar value to multiply each reduced column/row by.
Definition: KernelDescriptors.h:195
arm_compute::GEMMLowpReductionKernelInfo::k
int32_t k
Number of matrix columns/rows.
Definition: KernelDescriptors.h:193
arm_compute::GEMMLowpReductionKernelInfo::mul_by_scalar
bool mul_by_scalar
True if each column/row reduction has to be multiplied by a scalar value.
Definition: KernelDescriptors.h:196
arm_compute::GEMMLowpReductionKernelInfo::is_reshaped
bool is_reshaped
True if the input tensor has been reshaped.
Definition: KernelDescriptors.h:194