map_nest_at_indices

ivy.map_nest_at_indices(nest, indices, fn)[source]

Map a function to the values of a nested item at the specified indices

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

  • indices (tuple of tuples of indices) – A tuple of tuples of indices for the indices 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