[rllib] doc: fix typo: on_postprocess_batch -> on_postprocess_traj (#6438)

This commit is contained in:
Maltimore
2019-12-12 00:00:53 +01:00
committed by Philipp Moritz
parent 240e8f5279
commit 0ec613c95a
+1 -1
View File
@@ -518,7 +518,7 @@ Custom metrics can be accessed and visualized like any other training result:
Rewriting Trajectories
~~~~~~~~~~~~~~~~~~~~~~
Note that in the ``on_postprocess_batch`` callback you have full access to the trajectory batch (``post_batch``) and other training state. This can be used to rewrite the trajectory, which has a number of uses including:
Note that in the ``on_postprocess_traj`` callback you have full access to the trajectory batch (``post_batch``) and other training state. This can be used to rewrite the trajectory, which has a number of uses including:
* Backdating rewards to previous time steps (e.g., based on values in ``info``).
* Adding model-based curiosity bonuses to rewards (you can train the model with a `custom model supervised loss <rllib-models.html#supervised-model-losses>`__).