![]() |
Edge AI Add-on API 2.2.0
|
| nrf_axon_result_e nrf_axon_l2norm_24_32 | ( | const int32_t * | x_ptr, |
| int32_t * | out_ptr, | ||
| uint16_t | length, | ||
| uint8_t | rounding_bits, | ||
| nrf_axon_syncmode_blocking_e | block_mode, | ||
| bool | keep_reservation ) |
"l2norm" => sums the square of the elements in vector X
| x_ptr | x vector input. 24bit integers unpacked. |
| out_ptr | output scalar. 32bit integer rounded by rounding_bits. |
| length | Number of elements in the vectors (data samples). Must be a multiple of 4, at least 8, and no greater than 1024. |
| rounding_bits | Number of bits to round the output by. 0 => no rounding, maximum of 31. |