ivy.dev_clone_iter(xs, dev_strs)[source]

Clone elements of the iterbale xs to each of the specified devices.

  • xs (iterable of any) – The iterable of items to clone.

  • dev_strs (sequence of strs) – The devices to clone each of the iterable elements to.


iterable with each element 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