clone_iter

ivy.clone_iter(xs, node_strs)[source]

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

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

  • node_strs (sequence of strs) – The nodes to clone each of the iterable elements to.

Returns

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