dev_clone

ivy.dev_clone(x, dev_strs)[source]

Clone the input item to each of the specified devices, returning a list of cloned items, each on a different device.

Parameters
  • x (array or container) – The input array or container to clone to each device.

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

Returns

array or container distributed across the target devices


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty