Enums and Data Structures used in public API. More...
Data Structures | |
struct | cmsis_nn_tile |
struct | cmsis_nn_context |
struct | cmsis_nn_bias_data |
struct | cmsis_nn_dims |
struct | cmsis_nn_lstm_dims |
struct | cmsis_nn_per_channel_quant_params |
struct | cmsis_nn_per_tensor_quant_params |
struct | cmsis_nn_quant_params |
struct | cmsis_nn_activation |
struct | cmsis_nn_conv_params |
struct | cmsis_nn_transpose_conv_params |
struct | cmsis_nn_dw_conv_params |
struct | cmsis_nn_pool_params |
struct | cmsis_nn_fc_params |
struct | cmsis_nn_bmm_params |
struct | cmsis_nn_transpose_params |
struct | cmsis_nn_svdf_params |
struct | cmsis_nn_softmax_lut_s16 |
struct | cmsis_nn_scaling |
struct | cmsis_nn_lstm_gate |
struct | cmsis_nn_lstm_params |
struct | cmsis_nn_lstm_context |
Enumerations | |
enum | arm_nn_activation_type { ARM_SIGMOID = 0 , ARM_TANH = 1 } |
enum | arm_cmsis_nn_status { ARM_CMSIS_NN_SUCCESS = 0 , ARM_CMSIS_NN_ARG_ERROR = -1 , ARM_CMSIS_NN_NO_IMPL_ERROR = -2 , ARM_CMSIS_NN_FAILURE = -3 } |
Enums and Data Structures used in public API.
struct cmsis_nn_tile |
struct cmsis_nn_context |
struct cmsis_nn_bias_data |
struct cmsis_nn_dims |
struct cmsis_nn_lstm_dims |
struct cmsis_nn_per_channel_quant_params |
struct cmsis_nn_per_tensor_quant_params |
struct cmsis_nn_quant_params |
struct cmsis_nn_activation |
struct cmsis_nn_conv_params |
CMSIS-NN object for the convolution layer parameters
Data Fields | ||
---|---|---|
cmsis_nn_activation | activation | |
cmsis_nn_tile | dilation | |
int32_t | input_offset |
The negative of the zero value for the input tensor |
int32_t | output_offset |
The negative of the zero value for the output tensor |
cmsis_nn_tile | padding | |
cmsis_nn_tile | stride |
struct cmsis_nn_transpose_conv_params |
CMSIS-NN object for the transpose convolution layer parameters
Data Fields | ||
---|---|---|
cmsis_nn_activation | activation | |
cmsis_nn_tile | dilation | |
int32_t | input_offset |
The negative of the zero value for the input tensor |
int32_t | output_offset |
The negative of the zero value for the output tensor |
cmsis_nn_tile | padding | |
cmsis_nn_tile | padding_offsets | |
cmsis_nn_tile | stride |
struct cmsis_nn_dw_conv_params |
CMSIS-NN object for the depthwise convolution layer parameters
Data Fields | ||
---|---|---|
cmsis_nn_activation | activation | |
int32_t | ch_mult |
Channel Multiplier. ch_mult * in_ch = out_ch |
cmsis_nn_tile | dilation | |
int32_t | input_offset |
The negative of the zero value for the input tensor |
int32_t | output_offset |
The negative of the zero value for the output tensor |
cmsis_nn_tile | padding | |
cmsis_nn_tile | stride |
struct cmsis_nn_pool_params |
CMSIS-NN object for pooling layer parameters
Data Fields | ||
---|---|---|
cmsis_nn_activation | activation | |
cmsis_nn_tile | padding | |
cmsis_nn_tile | stride |
struct cmsis_nn_fc_params |
CMSIS-NN object for Fully Connected layer parameters
Data Fields | ||
---|---|---|
cmsis_nn_activation | activation | |
int32_t | filter_offset |
The negative of the zero value for the filter tensor |
int32_t | input_offset |
The negative of the zero value for the input tensor |
int32_t | output_offset |
The negative of the zero value for the output tensor |
struct cmsis_nn_bmm_params |
CMSIS-NN object for Batch Matmul layer parameters
Data Fields | ||
---|---|---|
const bool | adj_x | |
const bool | adj_y | |
cmsis_nn_fc_params | fc_params |
struct cmsis_nn_transpose_params |
struct cmsis_nn_svdf_params |
CMSIS-NN object for SVDF layer parameters
Data Fields | ||
---|---|---|
cmsis_nn_activation | input_activation | |
int32_t | input_offset |
The negative of the zero value for the input tensor |
cmsis_nn_activation | output_activation | |
int32_t | output_offset |
The negative of the zero value for the output tensor |
int32_t | rank |
struct cmsis_nn_softmax_lut_s16 |
struct cmsis_nn_scaling |
struct cmsis_nn_lstm_gate |
CMSIS-NN object for LSTM gate parameters
Data Fields | ||
---|---|---|
arm_nn_activation_type | activation_type | |
const void * | bias | |
const void * | hidden_effective_bias |
Precomputed kernel_sum * lhs_offset |
int32_t | hidden_multiplier | |
int32_t | hidden_shift | |
const void * | hidden_weights | |
const void * | input_effective_bias |
Bias added with precomputed kernel_sum * lhs_offset |
int32_t | input_multiplier | |
int32_t | input_shift | |
const void * | input_weights |
struct cmsis_nn_lstm_params |
CMSIS-NN object for LSTM parameters
Data Fields | ||
---|---|---|
int32_t | batch_size | |
int32_t | cell_clip |
Min/max value of cell output |
cmsis_nn_lstm_gate | cell_gate | |
int32_t | cell_scale_power | |
cmsis_nn_lstm_gate | forget_gate | |
int32_t | forget_to_cell_multiplier | |
int32_t | forget_to_cell_shift | |
int32_t | hidden_size |
Size of output from the LSTM cell, used as output and recursively into the next time step |
cmsis_nn_lstm_gate | input_gate | |
int32_t | input_offset | |
int32_t | input_size |
Size of new data input into the LSTM cell |
int32_t | input_to_cell_multiplier | |
int32_t | input_to_cell_shift | |
cmsis_nn_lstm_gate | output_gate | |
int32_t | output_multiplier | |
int32_t | output_offset | |
int32_t | output_shift | |
int32_t | time_major |
0 if first dimension is batch, else first dimension is time |
int32_t | time_steps |
struct cmsis_nn_lstm_context |
enum arm_cmsis_nn_status |