ivy.set_nest_at_index(nest, index, value)[source]

Set the value of a nested item at a specified index

  • nest (nested) – The nested object to update.

  • index (tuple of indices) – A tuple of indices for the index at which to update.

  • value (any) – The new value for updating.

Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty