mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-09-16 22:20:26 +00:00
Fix DictReplayBuffer.next_observations type (#1013)
* Fix DictReplayBuffer.next_observations type * Update changelog Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
This commit is contained in:
parent
c4f54fcf04
commit
a30d36002b
2 changed files with 2 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ Deprecations:
|
|||
|
||||
Others:
|
||||
^^^^^^^
|
||||
- Fixed ``DictReplayBuffer.next_observations`` typing (@qgallouedec)
|
||||
|
||||
Documentation:
|
||||
^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class ReplayBufferSamples(NamedTuple):
|
|||
class DictReplayBufferSamples(ReplayBufferSamples):
|
||||
observations: TensorDict
|
||||
actions: th.Tensor
|
||||
next_observations: th.Tensor
|
||||
next_observations: TensorDict
|
||||
dones: th.Tensor
|
||||
rewards: th.Tensor
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue