ivy.node_dist_array(x, node_strs: Union[Iterable[str], Dict[str, int]], axis=0)[source]

Distribute an array across the specified nodes, returning a list of sub-arrays, each on a different node.

  • x (array) – The array to distribute across nodes.

  • node_strs (sequence of strs or dict of split sizes) – The nodes to distribute the array across.

  • axis (int, optional) – The axis along which to split the array. Default is 0.


array distributed across the target nodes

Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty