Skip to content

Commit 48b84ba

Browse files
author
jballe
committed
Fixes typo in GDN documentation.
PiperOrigin-RevId: 242131913
1 parent 9464b50 commit 48b84ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/layers/gdn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class GDN(tf.keras.layers.Layer):
4949
generalization of a particular sigmoid-type function:
5050
5151
```
52-
y[i] = x[i] / sqrt(beta[i] + sum_j(gamma[j, i] * x[j]))
52+
y[i] = x[i] / sqrt(beta[i] + sum_j(gamma[j, i] * x[j]^2))
5353
```
5454
5555
where `i` and `j` run over channels. This implementation never sums across

0 commit comments

Comments
 (0)