Skip to content

Commit

Permalink
[RLlib] Fix typo in docstring of PGTorchPolicy (#23818)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun Gong authored Apr 11, 2022
1 parent a3d4fc7 commit c619104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rllib/agents/pg/pg_torch_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def pg_loss_stats(policy: Policy, train_batch: SampleBatch) -> Dict[str, TensorT
}


# Build a child class of `TFPolicy`, given the extra options:
# Build a child class of `TorchPolicy`, given the extra options:
# - trajectory post-processing function (to calculate advantages)
# - PG loss function
PGTorchPolicy = build_policy_class(
Expand Down

0 comments on commit c619104

Please sign in to comment.