Skip to content

Commit

Permalink
'perdqn_agent_x(#2)'
Browse files Browse the repository at this point in the history
  • Loading branch information
baijinqiu committed Dec 24, 2023
1 parent 04e5160 commit 576561b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/source/documents/api/agents/drl/perdqn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ PerDQN_Agent
:type obs: np.ndarray
:param egreedy: The epsilon greedy factor.
:type egreedy: float
:return: xxxxxx.
:rtype: xxxxxx
:return: **action** - The actions to be executed.
:rtype: np.ndarray

.. py:function::
xuance.mindspore.agents.qlearning_family.perdqn_agent.PerDQN_Agent.train(train_steps)
Expand All @@ -145,11 +145,10 @@ PerDQN_Agent
xuance.mindspore.agents.qlearning_family.perdqn_agent.PerDQN_Agent.test(env_fn,test_episodes)

:param env_fn: The function of making environments.
:type env_fn: xxxxxx
:param test_episodes: The number of testing episodes.
:type test_episodes: int
:return: xxxxxx.
:rtype: xxxxxx
:return: **scores** - The accumulated scores of these episodes.
:rtype: list
.. raw:: html

<br><hr>
Expand Down

0 comments on commit 576561b

Please sign in to comment.