Stack

Node Icon

Stack Numeric Arrays or Boolean Arrays along a specific dimension. All inputs must share the same shape along all dimensions except the stacking dimension.

Inputs

Input 0

Input Numeric Arrays or Boolean Arrays.

Type: Numeric Array, Boolean Array, List, Required, Single

Outputs

Array

Output Numeric Arrays or Boolean Arrays.

Type: Numeric Array, Boolean Array, Required, Single

Settings

New Dimension Boolean

Select if you want to create a new dimension.

Stack Along Dimension Integer

Index of the dimension stack along. If New Dimension is selected, the index can be 1 more than existing dimensions, otherwise it must be an existing dimension.

List Handling Selection

Define if multiple lists should be stacked to one output, or if list element should be broadcasted. Example: Input 0 is an image, Input 1 is a list of 3 images. If Stack is selected, the node will stack all four images to one output image. If Broadcast is selected, the node will return a list of 3 elements where element 0 is Input 0 stacked with element 0 of Input 1, element 1 is Input 0 stacked with element 1 of Input 1, and element 2 is Input 0 stacked with element 2 of Input 1.

Values: Stack, Broadcast

See also

Keywords: