mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-26 02:33:21 +08:00
13 lines
306 B
ReStructuredText
13 lines
306 B
ReStructuredText
.. _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
|
|
|