unify_iter(xs, node_str, mode, axis=0, transpose=False)¶
Unify elements of the iterbale xs to a single target node.
xs (iterable of any) – The iterable of items to unify.
node_str (str) – The node to unify the elements of the iterable to.
mode (str) – The mode by which to unify, must be one of [ concat | mean | sum ]
axis (int, optional) – The axis along which to concattenate the sub-arrays. Default is 0.
transpose (bool, optional) – Whether to transpose the first and second dimensions of the iterator. Default is False.
iterable with each element unified to a single target nodes