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

#include <csinn_data_structure.h>

Public Attributes

struct csinn_params_base base
 
float n
 
int32_t n_multiplier
 
int32_t n_shift
 

Detailed Description

CSI-NN relu params

Member Data Documentation

◆ base

struct csinn_params_base csinn_relu_params::base

The basic information of the operator

◆ n

float csinn_relu_params::n

Coefficients used by variants of ReLU such as n/alpha/threshold

◆ n_multiplier

int32_t csinn_relu_params::n_multiplier

The multiplier used in decimal point calculation, together with n_shift to form n

◆ n_shift

int32_t csinn_relu_params::n_shift

Used for fixed-point calculation number of shifts,together with n_multiplier to form n