SHL 2.2.x
Loading...
Searching...
No Matches
csinn_pool_params Struct Reference

#include <csinn_data_structure.h>

Public Attributes

struct csinn_params_base base
 
int32_t pool_type
 
int32_t filter_height
 
int32_t filter_width
 
int32_t filter_depth
 
int32_t stride_height
 
int32_t stride_width
 
int32_t stride_depth
 
int32_t pad_top
 
int32_t pad_left
 
int32_t pad_down
 
int32_t pad_right
 
int32_t pad_front
 
int32_t pad_back
 
int32_t ceil_mode
 
bool count_include_pad
 

Detailed Description

CSI-NN pooling params

Member Data Documentation

◆ base

struct csinn_params_base csinn_pool_params::base

The basic information of the operator

◆ pool_type

int32_t csinn_pool_params::pool_type

Pool type

◆ filter_height

int32_t csinn_pool_params::filter_height

Pool height

◆ filter_width

int32_t csinn_pool_params::filter_width

Pool width

◆ filter_depth

int32_t csinn_pool_params::filter_depth

Pool depth

◆ stride_height

int32_t csinn_pool_params::stride_height

Vertical step

◆ stride_width

int32_t csinn_pool_params::stride_width

Horizontal step

◆ stride_depth

int32_t csinn_pool_params::stride_depth

Step in the depth direction

◆ pad_top

int32_t csinn_pool_params::pad_top

The number of top padding

◆ pad_left

int32_t csinn_pool_params::pad_left

The number of left padding

◆ pad_down

int32_t csinn_pool_params::pad_down

The number of bottom padding

◆ pad_right

int32_t csinn_pool_params::pad_right

The number of right padding

◆ pad_front

int32_t csinn_pool_params::pad_front

The number of front padding

◆ pad_back

int32_t csinn_pool_params::pad_back

The number of back padding

◆ ceil_mode

int32_t csinn_pool_params::ceil_mode

When True, will use ceil instead of floor to compute the output shape

◆ count_include_pad

bool csinn_pool_params::count_include_pad

Specifies whether to include the edge pad during pooling, which usually occurs in mean pooling