![]() |
AI Engine API User Guide
(AIE) 2021.2
|
Vector reduction operations.
Functions |
|
template<VectorVec> | |
Vec::value_type | aie::reduce_add(const Vec &v) |
More... |
|
template<RealVectorVec> | |
Vec::value_type | aie::reduce_max(const Vec &v) |
More... |
|
template<RealVectorVec> | |
Vec::value_type | aie::reduce_min(const Vec &v) |
More... |
|
Vec::value_type aie::reduce_add | ( | const Vec & | v | ) |
Returns sum of the elements in the input vector.
v | Input vector. The type must meetVector. |
Vec::value_type aie::reduce_max | ( | const Vec & | v | ) |
Returns the element from the input vector with the largest value.
v | Input vector. The type must meetRealVector. |
Vec::value_type aie::reduce_min | ( | const Vec & | v | ) |
Returns the element from the input vector with the smallest value.
v | Input vector. The type must meetRealVector. |