dev_clone_iter

ivy.dev_clone_iter(xs, dev_strs)[source]

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

Parameters
  • 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.

Returns

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