Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches
nrf_dsp_tss_sum.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
15#ifndef _NRF_DSP_STAT_TSS_SUM_FUNCTIONS_H_
16#define _NRF_DSP_STAT_TSS_SUM_FUNCTIONS_H_
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
33void nrf_dsp_tss_sum_f32(const flt32_t* p_input, uint16_t num, nrf_dsp_stat_ctx_f32_t* p_ctx);
34
45void nrf_dsp_tss_sum_f32_s(const flt32_t* p_input,
46 uint16_t num,
47 size32_t stride,
49
59void nrf_dsp_tss_sum_i8(const int8_t* p_input, uint16_t num, nrf_dsp_stat_ctx_i8_t* p_ctx);
60
71void nrf_dsp_tss_sum_i8_s(const int8_t* p_input,
72 uint16_t num,
73 size32_t stride,
75
85void nrf_dsp_tss_sum_i16(const int16_t* p_input, uint16_t num, nrf_dsp_stat_ctx_i16_t* p_ctx);
86
97void nrf_dsp_tss_sum_i16_s(const int16_t* p_input,
98 uint16_t num,
99 size32_t stride,
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif /* _NRF_DSP_STAT_TSS_SUM_FUNCTIONS_H_ */
107
void nrf_dsp_tss_sum_i16_s(const int16_t *p_input, uint16_t num, size32_t stride, nrf_dsp_stat_ctx_i16_t *p_ctx)
Calculate Total Sum of Squares and Sum value of a INT16 fixed-point vector ​​using values ​​in increm...
void nrf_dsp_tss_sum_i8_s(const int8_t *p_input, uint16_t num, size32_t stride, nrf_dsp_stat_ctx_i8_t *p_ctx)
Calculate Total Sum of Squares and Sum value of a INT8 fixed-point vector ​​using values ​​in increme...
void nrf_dsp_tss_sum_f32_s(const flt32_t *p_input, uint16_t num, size32_t stride, nrf_dsp_stat_ctx_f32_t *p_ctx)
Calculate Total Sum of Squares and Sum value of a floating-point vector ​​using values ​​in increment...
void nrf_dsp_tss_sum_f32(const flt32_t *p_input, uint16_t num, nrf_dsp_stat_ctx_f32_t *p_ctx)
Calculate Total Sum of Squares and Sum of values of a floating-point vector.
void nrf_dsp_tss_sum_i16(const int16_t *p_input, uint16_t num, nrf_dsp_stat_ctx_i16_t *p_ctx)
Calculate Total Sum of Squares and Sum value of a INT16 fixed-point vector.
void nrf_dsp_tss_sum_i8(const int8_t *p_input, uint16_t num, nrf_dsp_stat_ctx_i8_t *p_ctx)
Calculate Total Sum of Squares and Sum value of a INT8 fixed-point vector.
size_t size32_t
Architecture 32-bit size_t type definition.
Definition nrf_edgeai_ctypes.h:31
float flt32_t
32-bit floating-point type definition.
Definition nrf_edgeai_ctypes.h:21
Floating-point statistics reusable context, in which is used to store derived or intermediate metrics...
Definition nrf_dsp_types.h:85
INT16 statistics reusable context, in which is used to store derived or intermediate metrics to simpl...
Definition nrf_dsp_types.h:146
INT8 statistics reusable context, in which is used to store derived or intermediate metrics to simpli...
Definition nrf_dsp_types.h:125