RepeatAlongAxis¶
Repeat the data along the given axis.
This node basically repeats n copies of the data along the desired axis. One of the most common use cases is to extend an array to match the size of another array to then perform an elementwise operation between the two, such as addition. Version 1.1.2
Ports/Properties¶
data¶
Data to process.
axis¶
Axis along which to repeat. Select the space axis for channels, instance axis for trials or segments, time for the number of time points, feature for the number of features in the stream, etc. Note that, when you specify the axis positionally (by using an integer), out-of-bounds indices (before or after the valid dimensions) will be treated as a missing axis that will by default be inserted right before or after the existing axes.
create_axis¶
Under what conditions to create the desired axis in the data. If this is set to no, then the operation is skipped for any streams that do not have the axis in question. If this is set to if-missing, then the axis will be created for any streams that do not have it (but excluding marker streams). If this is set to always, then the axis in question will always be created (again, not in marker streams), even if it already exists.
num_repeats¶
Number of repetitions. The data will be repeated this many times along the given axis. The repeat operation is a multiplication of the data along the axis, so if the number of repeats is 1, the data will be passed through unchanged.
verbose¶
Print warnings for edge cases.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.