Expand

Node Icon

Expand the number of dimensions in an input numeric or boolean array by broadcasting. The existing channel shapes cannot be changed using this node.

Example: Input with shape [3, 2] can be expanded to shape [3, 2, 6], or [3, 2, 15, 4], or any arbitrary shape as long as the existing channels are not changed.

Inputs

Input

Input array(s).

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

Outputs

Output

Output array(s).

Type: Numeric Array, Boolean Array, List

Settings

New Shape Integers

Input new shape.

Broadcasting Selection

Select how to align the input data for broadcasting.

Values: Align Leading Dimensions, Align Trailing Dimensions

See also

Keywords: