dev_clone_array

ivy.dev_clone_array(x, dev_strs)[source]

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

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

  • dev_strs (sequence of strs) – The devices to clone the array to.

Returns

array cloned to each of the target devices


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty