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

#include <csinn_data_structure.h>

Public Attributes

struct csinn_params_base base
 
int32_t pooled_size_h
 
int32_t pooled_size_w
 
float spatial_scale
 
int32_t spatial_scale_multiplier
 
int32_t spatial_scale_shift
 
int32_t sample_ratio
 

Detailed Description

CSI-NN roi_align params

Member Data Documentation

◆ base

struct csinn_params_base csinn_roi_align_params::base

The basic information of the operator

◆ pooled_size_h

int32_t csinn_roi_align_params::pooled_size_h

Vertical height of pooling core

◆ pooled_size_w

int32_t csinn_roi_align_params::pooled_size_w

Horizontal height of pooling core

◆ spatial_scale

float csinn_roi_align_params::spatial_scale

roi_align separate scaling for calculation

◆ spatial_scale_multiplier

int32_t csinn_roi_align_params::spatial_scale_multiplier

The multiplier used for fixed-point calculation, together with spatial_scale_shift to form spatial_scale

◆ spatial_scale_shift

int32_t csinn_roi_align_params::spatial_scale_shift

Number of shifts, together with spatial_scale_multiplier to form spatial_scale

◆ sample_ratio

int32_t csinn_roi_align_params::sample_ratio

Interpolation proportional coefficient