ivy.map_nest_at_index(nest, index, fn)[source]

Map a function to 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.

  • fn (callable) – The function to perform on the nest at the given index.

Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty