index_nest

ivy.index_nest(nest, index)[source]

Index a nested object, using a tuple of indices or keys in the case of dicts.

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

  • index (tuple of indices) – A tuple of indices for indexing.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty