2. Transmitting the data using send_data () API - 2023.2 English

Vitis Tutorials: AI Engine

Document ID
XD100
Release Date
2023-11-29
Version
2023.2 English

In order to send the data values, use send_data() API call. The API expects its first parameter as data values in the list for the specified data type and second parameter as the TLAST value.

in_interpolator.send_data(in_interpolator_data, True)
in_classifier.send_data(in_classifier_data, True)

Here the first parameter in_interpolator_data is the list of int16 values expected by the AIE kernel. The second parameter is the TLAST value as True