Skip to content

Commit bf91bd5

Browse files
BelfordZcaisq
authored andcommitted
[snake-dqn] fix: typo (#325)
1 parent a6d5408 commit bf91bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: snake-dqn/agent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class SnakeGameAgent {
123123
* Perform training on a randomly sampled batch from the replay buffer.
124124
*
125125
* @param {number} batchSize Batch size.
126-
* @param {numebr} gamma Reward discount rate. Must be >= 0 and <= 1.
126+
* @param {number} gamma Reward discount rate. Must be >= 0 and <= 1.
127127
* @param {tf.train.Optimizer} optimizer The optimizer object used to update
128128
* the weights of the online network.
129129
*/

0 commit comments

Comments
 (0)