Barycenter
- RISCV_DSP_ATTRIBUTE void riscv_barycenter_f32 (const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors, uint32_t vecDim)
- RISCV_DSP_ATTRIBUTE void riscv_barycenter_f16 (const float16_t *in, const float16_t *weights, float16_t *out, uint32_t nbVectors, uint32_t vecDim)
- group barycenter
Barycenter of weighted vectors.
Unnamed Group
- RISCV_DSP_ATTRIBUTE void riscv_barycenter_f32 (const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors, uint32_t vecDim)
Barycenter.
- Parameters
*in – [in] List of vectors
*weights – [in] Weights of the vectors
*out – [out] Barycenter
nbVectors – [in] Number of vectors
vecDim – [in] Dimension of space (vector dimension)
Functions
- RISCV_DSP_ATTRIBUTE void riscv_barycenter_f16 (const float16_t *in, const float16_t *weights, float16_t *out, uint32_t nbVectors, uint32_t vecDim)
Barycenter.
- Parameters
*in – [in] List of vectors
*weights – [in] Weights of the vectors
*out – [out] Barycenter
nbVectors – [in] Number of vectors
vecDim – [in] Dimension of space (vector dimension)