tianshou.trainer
================


On-policy
---------

.. autoclass:: tianshou.trainer.OnpolicyTrainer
   :members:
   :undoc-members:
   :show-inheritance:

.. autofunction:: tianshou.trainer.onpolicy_trainer

.. autoclass:: tianshou.trainer.onpolicy_trainer_iter


Off-policy
----------

.. autoclass:: tianshou.trainer.OffpolicyTrainer
   :members:
   :undoc-members:
   :show-inheritance:

.. autofunction:: tianshou.trainer.offpolicy_trainer

.. autoclass:: tianshou.trainer.offpolicy_trainer_iter


Offline
-------

.. autoclass:: tianshou.trainer.OfflineTrainer
   :members:
   :undoc-members:
   :show-inheritance:

.. autofunction:: tianshou.trainer.offline_trainer

.. autoclass:: tianshou.trainer.offline_trainer_iter


utils
-----

.. autofunction:: tianshou.trainer.test_episode

.. autofunction:: tianshou.trainer.gather_info
