Skip to content

Commit

Permalink
webgl: fix a typing nit (tensorflow#7199)
Browse files Browse the repository at this point in the history
DOC
  • Loading branch information
xhcao authored and Linchenn committed Jan 9, 2023
1 parent 3b47eb1 commit 8b27723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfjs-backend-webgl/src/lrn_grad_gpu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class LRNGradProgram implements GPGPUProgram {
else if (k >= depthBegin && k < depthEnd){
float dyi = -2.0 * float(${alpha})
* float(${beta})
* getInputImage(b ,r ,c, k) * getOutputImage(b, r, c, d)
* getInputImage(b, r, c, k) * getOutputImage(b, r, c, d)
/ norm;
if (k == d) {
dyi += pow(norm, -1.0 * ${beta});
Expand Down

0 comments on commit 8b27723

Please sign in to comment.