MXNet provides a rich Python API to serve a broad community of Python developers. In this section, we provide an in-depth discussion of the functionality provided by various MXNet Python packages. We have included code samples for most of the APIs for improved clarity. These code samples will run as-is as long as MXNet is first imported by running:
>>> import mxnet as mx
.. note:: A convenient way to execute examples is the ``%doctest_mode`` mode of Jupyter notebook, which allows for pasting multi-line examples containing ``>>>`` while preserving indentation. Run ``%doctest_mode?`` in Jupyter notebook for more details.
.. toctree:: :maxdepth: 1 ndarray/ndarray.md ndarray/random.md ndarray/linalg.md ndarray/sparse.md ndarray/contrib.md
.. toctree:: :maxdepth: 1 symbol/symbol.md symbol/random.md symbol/linalg.md symbol/sparse.md symbol/contrib.md symbol/rnn.md
.. toctree:: :maxdepth: 1 module/module.md executor/executor.md
.. toctree:: :maxdepth: 1 autograd/autograd.md
.. toctree:: :maxdepth: 1 gluon/gluon.md gluon/nn.md gluon/rnn.md gluon/loss.md gluon/data.md gluon/model_zoo.md gluon/contrib.md
.. toctree:: :maxdepth: 1 kvstore/kvstore.md
.. toctree:: :maxdepth: 1 io/io.md
.. toctree:: :maxdepth: 1 image/image.md
.. toctree:: :maxdepth: 1 optimization/optimization.md
.. toctree:: :maxdepth: 1 callback/callback.md
.. toctree:: :maxdepth: 1 metric/metric.md
.. toctree:: :maxdepth 1 rtc/rtc.md
.. toctree:: :maxdepth: 1 contrib/contrib.md contrib/text.md