tensorlayer/docs/modules/rein.rst at master · Jyneda/tensorlayer · GitHub
Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 585 Bytes

File metadata and controls

33 lines (23 loc) · 585 Bytes

API - Reinforcement Learning

Reinforcement Learning.

.. automodule:: tensorlayer.rein

.. autosummary::

  discount_episode_rewards
  cross_entropy_reward_loss
  log_weight
  choice_action_by_probs


Reward functions

.. autofunction:: discount_episode_rewards

Cost functions

Weighted Cross Entropy

.. autofunction:: cross_entropy_reward_loss

Log weight

.. autofunction:: log_weight

Sampling functions

.. autofunction:: choice_action_by_probs