CMSIS-NN  
CMSIS NN Software Library
arm_nn_types.h File Reference

Data Structures

struct  cmsis_nn_tile
 
struct  cmsis_nn_context
 
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_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_svdf_params
 
struct  cmsis_nn_softmax_lut_s16
 
struct  cmsis_nn_lstm_guard_params
 
struct  cmsis_nn_lstm_context
 
struct  cmsis_nn_lstm_clip_params
 
struct  cmsis_nn_scaling
 
struct  cmsis_nn_layer_norm
 
struct  cmsis_nn_lstm_params
 

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
}
 

Enumeration Type Documentation

◆ arm_cmsis_nn_status

Function return codes

Enumerator
ARM_CMSIS_NN_SUCCESS 

No error

ARM_CMSIS_NN_ARG_ERROR 

One or more arguments are incorrect

ARM_CMSIS_NN_NO_IMPL_ERROR 

No implementation available

ARM_CMSIS_NN_FAILURE 

Logical error

◆ arm_nn_activation_type

Enum for specifying activation function types

Enumerator
ARM_SIGMOID 

Sigmoid activation function

ARM_TANH 

Tanh activation function