Skip to content

Commit

Permalink
[Doc] Typo in docs for actors.py (#2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
carschandler authored Nov 9, 2024
1 parent 09d6866 commit 19dbeeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions torchrl/modules/tensordict_module/actors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,9 +1356,9 @@ class ActorValueOperator(SafeSequential):
+-------------+ +------------+
.. note::
For a similar class that returns an action and a Quality value :math:`Q(s, a)`
see :class:`~.ActorCriticOperator`. For a version without common embeddig
refet to :class:`~.ActorCriticWrapper`.
For a similar class that returns an action and a Quality value :math:`Q(s, a)`,
see :class:`~.ActorCriticOperator`. For a version without common embedding,
refer to :class:`~.ActorCriticWrapper`.
To facilitate the workflow, this class comes with a get_policy_operator() and get_value_operator() methods, which
will both return a standalone TDModule with the dedicated functionality.
Expand Down

1 comment on commit 19dbeeb

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'CPU Benchmark Results'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 19dbeeb Previous: 09d6866 Ratio
benchmarks/test_replaybuffer_benchmark.py::test_rb_sample[TensorDictReplayBuffer-LazyTensorStorage-SamplerWithoutReplacement-10000] 752.8807985303207 iter/sec (stddev: 0.03131666187164643) 2119.906500583184 iter/sec (stddev: 0.000054783544537142225) 2.82

This comment was automatically generated by workflow using github-action-benchmark.

CC: @vmoens

Please sign in to comment.