Skip to content

Commit 91b9120

Browse files
committed
v2: minor, renamed kwarg
1 parent cf1a34d commit 91b9120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tianshou/trainer/trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ class OnPolicyTrainer(OnlineTrainer[OnPolicyAlgorithm, OnPolicyTrainerParams]):
10721072

10731073
def _update_step(
10741074
self,
1075-
result: CollectStatsBase | None = None,
1075+
collect_stats: CollectStatsBase | None = None,
10761076
) -> TrainingStats:
10771077
"""Perform one on-policy update by passing the entire buffer to the algorithm's update method."""
10781078
assert self.params.train_collector is not None

0 commit comments

Comments
 (0)