Skip to content

Commit

Permalink
Merge branch 'bugfix/batch_eq_for_scalar' of https://github.com/dantp…
Browse files Browse the repository at this point in the history
…-ai/tianshou into bugfix/batch_eq_for_scalar
  • Loading branch information
dantp-ai committed Aug 2, 2024
2 parents 2d09beb + 4055901 commit 17507f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
- Add methods `to_numpy_` and `to_torch_`. #1098, #1117
- Add `__eq__` (semantic equality check). #1098
- `keys()` deprecated in favor of `get_keys()` (needed to make iteration consistent with naming) #1105.
- Major: new methods for applying functions to values, to check for NaNs and drop them, and to set values. #1181
- Slicing a batch with a torch distribution now also slices the distribution. #1181
- `data.collector`:
- `Collector`:
- Introduced `BaseCollector` as a base class for all collectors. #1123
Expand Down Expand Up @@ -91,6 +93,7 @@ instead of just `nn.Module`. #1032
- The methods `to_numpy` and `to_torch` in are not in-place anymore
(use `to_numpy_` or `to_torch_` instead). #1098, #1117
- The method `Batch.is_empty` has been removed. Instead, the user can simply check for emptiness of Batch by using `len` on dicts. #1144
- Stricter `cat_`, only concatenation of batches with the same structure is allowed. #1181
- Logging:
- `BaseLogger.prepare_dict_for_logging` is now abstract. #1074
- Removed deprecated and unused `BasicLogger` (only affects users who subclassed it). #1074
Expand All @@ -105,6 +108,7 @@ continuous and discrete cases. #1032
### Tests
- Fixed env seeding it `test_sac_with_il.py` so that the test doesn't fail randomly. #1081
- Improved CI triggers and added telemetry (if requested by user) #1177
- Improved environment used in tests.
- Improved tests bach equality to check with scalar values #1185

### Dependencies
Expand Down

0 comments on commit 17507f2

Please sign in to comment.