ivy.unify_array(xs, node_str, mode, axis=0)[source]

Unify a list of sub-arrays, on arbitrary nodes, to a single array on the specified node.

  • xs (sequence of arrays) – The list of arrays to unify onto the specified node.

  • node_str (str) – The node to unify the arrays 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 array, if concat mode is set. Default is 0.


array unified to the target node

Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty