.. role:: hidden
    :class: hidden-section

mmcls.apis
===================================

These are some high-level APIs for classification tasks.

.. contents:: mmcls.apis
   :depth: 2
   :local:
   :backlinks: top

.. currentmodule:: mmcls.apis

Train
------------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   init_random_seed
   set_random_seed
   train_model

Test
------------------
.. autosummary::
   :toctree: generated
   :nosignatures:

   single_gpu_test
   multi_gpu_test

Inference
------------------

.. autosummary::
   :toctree: generated
   :nosignatures:

   init_model
   inference_model
   show_result_pyplot
