SqueezeAxes¶
Strip all axes whose length is 1.
This node can also be used to reduce the number of dimensions in a multi-dimensional array, or list of lists with a regular structure, if the input to this node is an array instead of a Packet. (See also StripSingletonAxis to remove a single axis with a length of 1 while leaving others.)
Version 1.1.0
Ports/Properties¶
data¶
Data to process.
- verbose name: Data
- default value: None
- port type: DataPort
- value type: AnyNumeric (can be None)
- data direction: INOUT
verbose¶
Print a list of the original axes and those remaining.
- verbose name: Verbose
- default value: False
- port type: BoolPort
- value type: bool (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)