clone_array

ivy.clone_array(x, node_strs)[source]

Clone an array across the specified nodes, returning a list of cloned arrays, each on a different node.

Parameters
  • x (array) – The array to clone across nodes.

  • node_strs (sequence of strs) – The nodes to clone the array to.

Returns

array cloned to each of the target nodes


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty