Weighted Sum
-
float16_t riscv_weighted_sum_f16(const float16_t *in, const float16_t *weigths, uint32_t blockSize)
-
float32_t riscv_weighted_sum_f32(const float32_t *in, const float32_t *weigths, uint32_t blockSize)
- group weightedsum
Weighted sum of values.
Functions
-
float16_t riscv_weighted_sum_f16(const float16_t *in, const float16_t *weigths, uint32_t blockSize)
Weighted sum.
- Parameters
*in – [in] Array of input values.
*weigths – [in] Weights
blockSize – [in] Number of samples in the input array.
- Returns
Weighted sum
-
float32_t riscv_weighted_sum_f32(const float32_t *in, const float32_t *weigths, uint32_t blockSize)
Weighted sum.
- Parameters
*in – [in] Array of input values.
*weigths – [in] Weights
blockSize – [in] Number of samples in the input array.
- Returns
Weighted sum
-
float16_t riscv_weighted_sum_f16(const float16_t *in, const float16_t *weigths, uint32_t blockSize)