Compute Library
 22.11
Pooling3dLayerInfo Struct Reference

Pooling Layer Information struct. More...

#include <Types.h>

Collaboration diagram for Pooling3dLayerInfo:
[legend]

Public Member Functions

 Pooling3dLayerInfo () noexcept
 Default Constructor. More...
 
 Pooling3dLayerInfo (PoolingType pool_type, unsigned int pool_size, Size3D stride=Size3D(1U, 1U, 1U), Padding3D padding=Padding3D(), bool exclude_padding=false, bool fp_mixed_precision=false, DimensionRoundingType round_type=DimensionRoundingType::FLOOR)
 Constructor. More...
 
 Pooling3dLayerInfo (PoolingType pool_type, Size3D pool_size, Size3D stride=Size3D(1U, 1U, 1U), Padding3D padding=Padding3D(), bool exclude_padding=false, bool fp_mixed_precision=false, DimensionRoundingType round_type=DimensionRoundingType::FLOOR)
 Constructor. More...
 
 Pooling3dLayerInfo (PoolingType pool_type)
 Constructor. More...
 

Data Fields

PoolingType pool_type
 
Size3D pool_size
 
Size3D stride
 
Padding3D padding
 
bool exclude_padding
 
bool is_global_pooling
 
bool fp_mixed_precision
 
DimensionRoundingType round_type
 

Detailed Description

Pooling Layer Information struct.

Definition at line 1295 of file Types.h.

Constructor & Destructor Documentation

◆ Pooling3dLayerInfo() [1/4]

Pooling3dLayerInfo ( )
inlinenoexcept

Default Constructor.

Definition at line 1298 of file Types.h.

1300  pool_size(Size3D()),
1301  stride(Size3D()),
1302  padding(Padding3D()),
1303  exclude_padding(false),
1304  is_global_pooling(false),
1305  fp_mixed_precision(false),
1307  {
1308  }
DimensionRoundingType round_type
Definition: Types.h:1394

◆ Pooling3dLayerInfo() [2/4]

Pooling3dLayerInfo ( PoolingType  pool_type,
unsigned int  pool_size,
Size3D  stride = Size3D(1U, 1U, 1U),
Padding3D  padding = Padding3D(),
bool  exclude_padding = false,
bool  fp_mixed_precision = false,
DimensionRoundingType  round_type = DimensionRoundingType::FLOOR 
)
inlineexplicit

Constructor.

Parameters
[in]pool_typePooling type PoolingType.
[in]pool_sizePooling size, in elements, across x, y and z.
[in]stride(Optional) stride information Size3D
[in]padding(Optional) padding information Padding3D
[in]exclude_padding(Optional) Strategy when accounting padding in calculations. True will exclude padding while false will not (Used in AVG/L2 pooling to determine the pooling area). Defaults to false;
[in]fp_mixed_precision(Optional) Use wider accumulators (32 bit instead of 16 for FP16) to improve accuracy.
[in]round_type(Optional) Dimensions rounding. Defaults to FLOOR

Definition at line 1321 of file Types.h.

◆ Pooling3dLayerInfo() [3/4]

Pooling3dLayerInfo ( PoolingType  pool_type,
Size3D  pool_size,
Size3D  stride = Size3D(1U, 1U, 1U),
Padding3D  padding = Padding3D(),
bool  exclude_padding = false,
bool  fp_mixed_precision = false,
DimensionRoundingType  round_type = DimensionRoundingType::FLOOR 
)
inlineexplicit

Constructor.

Parameters
[in]pool_typePooling type PoolingType.
[in]pool_sizePooling size, in elements, across x, y and z.
[in]stride(Optional) stride information Size3D
[in]padding(Optional) padding information Padding3D
[in]exclude_padding(Optional) Strategy when accounting padding in calculations. True will exclude padding while false will not (Used in AVG/L2 pooling to determine the pooling area). Defaults to false;
[in]fp_mixed_precision(Optional) Use wider accumulators (32 bit instead of 16 for FP16) to improve accuracy.
[in]round_type(Optional) Dimensions rounding. Defaults to FLOOR

Definition at line 1351 of file Types.h.

◆ Pooling3dLayerInfo() [4/4]

Pooling3dLayerInfo ( PoolingType  pool_type)
inlineexplicit

Constructor.

Note
This constructor is used for global pooling
Parameters
[in]pool_typePooling type PoolingType.

Definition at line 1375 of file Types.h.

1376  : pool_type(pool_type),
1377  pool_size(Size3D()),
1378  stride(Size3D(1U, 1U, 1U)),
1379  padding(Padding3D(0, 0, 0)),
1380  exclude_padding(false),
1381  is_global_pooling(true),
1382  fp_mixed_precision(false),
1384  {
1385  }
DimensionRoundingType round_type
Definition: Types.h:1394

Field Documentation

◆ exclude_padding

◆ fp_mixed_precision

bool fp_mixed_precision

Definition at line 1393 of file Types.h.

Referenced by ClPool3dKernel::configure(), and arm_compute::operator<<().

◆ is_global_pooling

◆ padding

◆ pool_size

◆ pool_type

◆ round_type

◆ stride


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