AI Engine API User Guide
(AIE) 2021.2
|
On construction, the contents of a vector are undefined.
The simplest way of initializing a vector is from another vector of the same type and size.
Or as the result of an operation.
A vector can also be read from memory using theaie::load_voperation or iterators. SeeMemoryfor more details.
Sections of a vector can be modified independently. It can be done in a per-element basis.
Or by writing subvectors.
Vectors can also be concatenated into a larger vector.
Accumulators support all the aforementioned vector operations but the individual element update.
Both vectors and accumulators can also be read from ADF abstractions such as windows and streams. SeeInteroperability with Adaptive Data Flow (ADF) Graph Abstractionsfor more details.