NMSIS-NN  Version 1.3.1
NMSIS NN Software Library
Structure Types

Enums and Data Structures used in public API. More...

Data Structures

struct  nmsis_nn_tile
 
struct  nmsis_nn_context
 
struct  nmsis_nn_bias_data
 
struct  nmsis_nn_dims
 
struct  nmsis_nn_lstm_dims
 
struct  nmsis_nn_per_channel_quant_params
 
struct  nmsis_nn_per_tensor_quant_params
 
struct  nmsis_nn_activation
 
struct  nmsis_nn_conv_params
 
struct  nmsis_nn_transpose_conv_params
 
struct  nmsis_nn_dw_conv_params
 
struct  nmsis_nn_pool_params
 
struct  nmsis_nn_fc_params
 
struct  nmsis_nn_svdf_params
 
struct  nmsis_nn_softmax_lut_s16
 
struct  nmsis_nn_scaling
 
struct  nmsis_nn_lstm_gate
 
struct  nmsis_nn_lstm_params
 
struct  nmsis_nn_lstm_context
 

Enumerations

enum  riscv_nn_activation_type {
  RISCV_SIGMOID = 0,
  RISCV_TANH = 1
}
 
enum  riscv_nmsis_nn_status {
  RISCV_NMSIS_NN_SUCCESS = 0,
  RISCV_NMSIS_NN_ARG_ERROR = -1,
  RISCV_NMSIS_NN_NO_IMPL_ERROR = -2,
  RISCV_NMSIS_NN_SIZE_MISMATCH = -3
}
 

Detailed Description

Enums and Data Structures used in public API.

Enumeration Type Documentation

◆ riscv_nmsis_nn_status

Function return codes

Enumerator
RISCV_NMSIS_NN_SUCCESS 

No error

RISCV_NMSIS_NN_ARG_ERROR 

One or more arguments are incorrect

RISCV_NMSIS_NN_NO_IMPL_ERROR 

No implementation available

RISCV_NMSIS_NN_SIZE_MISMATCH 

Size of matrices is not compatible with the operation

◆ riscv_nn_activation_type

Enum for specifying activation function types

Enumerator
RISCV_SIGMOID 

Sigmoid activation function

RISCV_TANH 

Tanh activation function