Trim Input List
Function
This Step keeps the first N items in a data list and output. Items after the Nth item will be discarded.
Usage Scenario
This Step extracts the first N items in a list, and the N value can be set in the parameters by project requirements.
Input and Output
For this Step, the input and output are of the same data type. For example, when the input is pose data, the input and output of this Step are shown as follows:
Parameter Description
Ports Settings
- Port Number (1–15)
-
Description: Set the number of input and output ports in this Step.
Default value: 1
Value range: 1–15
- Operation Layer
-
Description: Specify the layer of elements on which operations should be performed in the list. When the value of this parameter is 0, operations will be performed on every element in the list; otherwise, operations will be performed only on elements of the specified layer.
Default value: 0
Output Size
Description: Set the number of outputs in this Step.
Default value: 1
Tuning recommendation: Please set the value according to the actual situation.