Struct SYN_NN_Layer¶
Layer Descriptor Struct.
#include <syn_nn.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_NN_Activation | act |
| const q16_t * | biases |
| size_t | num_inputs |
| size_t | num_outputs |
| uint8_t | out_shift |
| SYN_NN_LayerType | type |
| const q7_t * | weights |
Public Attributes Documentation¶
variable act¶
Activation function enum
variable biases¶
Pointer to layer Q16 biases array
variable num_inputs¶
Number of input features
variable num_outputs¶
Number of output neurons/filters
variable out_shift¶
Right bit-shift output scaling factor
variable type¶
Layer type enum (Dense or Attention)
variable weights¶
Pointer to layer INT8 weights array
The documentation for this class was generated from the following file src/syntropic/util/syn_nn.h