Skip to content

Commit

Permalink
[Doc] Fix documentation mismatch for default argument (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRisenPhoenix authored May 2, 2024
1 parent 7109a3f commit 48b5a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/objectives/sac.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ class DiscreteSACLoss(LossModule):
:class:`torchrl.data.BinaryDiscreteTensorSpec` or :class:`torchrl.data.DiscreteTensorSpec`).
num_actions (int, optional): number of actions in the action space.
To be provided if target_entropy is set to "auto".
num_qvalue_nets (int, optional): Number of Q-value networks to be trained. Default is 10.
num_qvalue_nets (int, optional): Number of Q-value networks to be trained. Default is 2.
loss_function (str, optional): loss function to be used for the Q-value. Can be one of `"smooth_l1"`, "l2",
"l1", Default is "smooth_l1".
alpha_init (float, optional): initial entropy multiplier.
Expand Down

0 comments on commit 48b5a28

Please sign in to comment.