Skip to content

Commit de4eb59

Browse files
committed
Updated docs
1 parent 872a7e5 commit de4eb59

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

docs/misc/changelog.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
Changelog
44
==========
55

6-
Release 2.7.1 (2025-07-27)
6+
Release 2.7.1 (2025-08-01)
77
--------------------------
88
**Unify the dtype decision logic for all buffer classes**
99

1010
New Features:
1111
^^^^^^^^^^^^^
12-
- Changed the default observations and actions `dtype` in `RolloutBuffer` and `DictRolloutBuffer` to observation / action spaces `dtype` (@Trenza1ore)
13-
- Added an optional `dtypes` parameter for all buffer classes to override default `dtype` for observations and actions (@Trenza1ore)
12+
- Changed the default observations and actions `dtype` in `RolloutBuffer` and `DictRolloutBuffer` to observation / action space `dtype`, to align with `ReplayBuffer` and `DictReplayBuffer` (@Trenza1ore)
13+
14+
Others:
15+
^^^^^^^
16+
- Added an additional ``test_buffers.py::test_buffer_dtypes`` which tests the `dtype` of `RolloutBuffer` and `DictRolloutBuffer` (@Trenza1ore)
1417

1518
Release 2.7.0 (2025-07-25)
1619
--------------------------

stable_baselines3/common/buffers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class BufferDTypes:
3232
"""
3333
Data class representing the data types used by a buffer.
3434
35-
:param _observations: Datatype of observation space
36-
:param _actions: Datatype of action space
35+
:param observations: Datatype of observation space
36+
:param actions: Datatype of action space
3737
"""
3838

3939
MAP_TORCH_DTYPES: ClassVar[dict] = dict(complex32="complex64", float="float32", bfloat16="float32", bool="bool_")

0 commit comments

Comments
 (0)