mlx/docs/build/html/_sources/indexing.rst

13 lines
306 B
ReStructuredText
Raw Normal View History

2024-01-04 12:14:05 +08:00
.. _indexing:
Indexing Arrays
===============
.. currentmodule:: mlx.core
For the most part, indexing an MLX :obj:`array` works the same as indexing a
NumPy :obj:`numpy.ndarray`. See the `NumPy documentation
<https://numpy.org/doc/stable/user/basics.indexing.html>`_ for more details on
how that works