Skip to content

Commit

Permalink
missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinkle23897 committed Mar 17, 2022
1 parent 3ce4f6d commit a62cf84
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tianshou/trainer/offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ def offline_trainer(*args, **kwargs) -> Dict[str, Union[float, str]]: # type: i
"""Wrapper for offline_trainer run method.
It is identical to ``OfflineTrainer(...).run()``.
:return: See :func:`~tianshou.trainer.gather_info`.
"""
return OfflineTrainer(*args, **kwargs).run()

Expand Down
2 changes: 2 additions & 0 deletions tianshou/trainer/offpolicy.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def offpolicy_trainer(*args, **kwargs) -> Dict[str, Union[float, str]]: # type:
"""Wrapper for OffPolicyTrainer run method.
It is identical to ``OffpolicyTrainer(...).run()``.
:return: See :func:`~tianshou.trainer.gather_info`.
"""
return OffpolicyTrainer(*args, **kwargs).run()

Expand Down
2 changes: 2 additions & 0 deletions tianshou/trainer/onpolicy.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def onpolicy_trainer(*args, **kwargs) -> Dict[str, Union[float, str]]: # type:
"""Wrapper for OnpolicyTrainer run method.
It is identical to ``OnpolicyTrainer(...).run()``.
:return: See :func:`~tianshou.trainer.gather_info`.
"""
return OnpolicyTrainer(*args, **kwargs).run()

Expand Down

0 comments on commit a62cf84

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy