Skip to content

Commit

Permalink
Update docs/01_tutorials/01_concepts.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinkle23897 authored Oct 10, 2024
1 parent 4bfaf2f commit 35c4cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/01_tutorials/01_concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The current implementation of Tianshou typically use the following reserved keys
* ``info`` the info of step :math:`t` (in ``gym.Env``, the ``env.step()`` function returns 4 arguments, and the last one is ``info``);
* ``policy`` the data computed by policy in step :math:`t`;

When adding data to a replay buffer, the done flag will be inferred automatically from ``terminated or truncated``.
When adding data to a replay buffer, the done flag will be inferred automatically from ``terminated`` or ``truncated``.

The following code snippet illustrates the usage, including:

Expand Down

0 comments on commit 35c4cee

Please sign in to comment.