Connection Constructor Templates - 2024.1 English

AI Engine-ML Kernel and Graph Programming Guide (UG1603)

Document ID
Release Date
2024.1 English
connect [name] (portA , portB)

This connects two ports which can be either buffer port, cascade port or stream port.

The buffers can be one of the following:

The two ports can belong to different levels of hierarchy within the graph.

dimensions(port) = {Size1, ...}

If the buffer dimension is not specified in its signature, you define it in the graph using the dimension function. This function can only be applied to buffers located in an AI Engine-ML tile.

connect<parameter> [name](portA, portB)

Connects a parameter port to a kernel buffer port.

connect [name](parameter, kernel)

Connects a LUT parameter array object to a kernel.