Skip to content

Commit

Permalink
[BugFix] Fix LazyStackedCompositeSpec and introducing `consolidate_…
Browse files Browse the repository at this point in the history
…spec` (pytorch#1392)

Signed-off-by: Matteo Bettini <matbet@meta.com>
Co-authored-by: vmoens <vincentmoens@gmail.com>
  • Loading branch information
matteobettini and vmoens authored Jul 31, 2023
1 parent c693199 commit 575a0a4
Show file tree
Hide file tree
Showing 6 changed files with 1,043 additions and 117 deletions.
4 changes: 4 additions & 0 deletions docs/source/reference/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ Check the :obj:`torchrl.envs.utils.check_env_specs` method for a sanity check.
OneHotDiscreteTensorSpec
UnboundedContinuousTensorSpec
UnboundedDiscreteTensorSpec
LazyStackedTensorSpec
LazyStackedCompositeSpec

Reinforcement Learning From Human Feedback (RLHF)
-------------------------------------------------
Expand Down Expand Up @@ -253,3 +255,5 @@ Utils
:template: rl_template.rst

MultiStep
consolidate_spec
check_no_exclusive_keys
Loading

0 comments on commit 575a0a4

Please sign in to comment.