Skip to content

Commit

Permalink
Allow two (same/different) Batch objs to be tested for equality thu-…
Browse files Browse the repository at this point in the history
  • Loading branch information
dantp-ai committed Apr 16, 2024
1 parent cebde45 commit bee533c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
- Trainers can control whether collectors should be reset prior to training. #1063
- Convenience constructor for `CollectStats` called `with_autogenerated_stats`. #1063
- `SamplingConfig` supports `batch_size=None`. #1077
- Batch received new method: `to_numpy_`. #1098
- `to_dict` in Batch supports also non-recursive conversion. #1098

### Internal Improvements
- `Collector`s rely less on state, the few stateful things are stored explicitly instead of through a `.data` attribute. #1063
Expand All @@ -34,6 +36,7 @@ expicitly or pass `reset_before_collect=True` . #1063
- Changed interface of `dist_fn` in `PGPolicy` and all subclasses to take a single argument in both
continuous and discrete cases. #1032
- `utils.net.common.Recurrent` now receives and returns a `RecurrentStateBatch` instead of a dict. #1077
- The method `to_numpy` in `data.utils.batch.Batch` is not in-place anymore. Instead, a new method `to_numpy_` does the conversion in-place. #1098

### Tests
- Fixed env seeding it test_sac_with_il.py so that the test doesn't fail randomly. #1081
Expand Down

0 comments on commit bee533c

Please sign in to comment.