Skip to content

← array package

ArrayReshape

Change the shape of an array without changing the number of elements.

This is equivalent to first flattening the array and then arranging the elements in the desired new shape. The node can also be applied to transform between lists of lists with regular structure. Version 1.0.0

Ports/Properties

array

Array to process.

verbose name
Array
default value
None
port type
DataPort
value type
AnyNumeric (can be None)
data direction
INOUT

shape

Desired shape of the array. One of the dimensions may be set to -1, in which case it will be inferred from the other dimensions and the total number of elements.

verbose name
Shape
default value
[-1]
port type
ListPort
value type
list (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)