Yuchan
commited on
Update AlphaS2S.py
Browse files- AlphaS2S.py +1 -1
AlphaS2S.py
CHANGED
|
@@ -280,7 +280,7 @@ class LoU(layers.Layer):
|
|
| 280 |
def call(self, x, z):
|
| 281 |
x_f32 = tf.cast(x, tf.float32)
|
| 282 |
residual = x_f32
|
| 283 |
-
|
| 284 |
|
| 285 |
x_comb = self.mha(x, x, x, use_causal_mask=True)
|
| 286 |
|
|
|
|
| 280 |
def call(self, x, z):
|
| 281 |
x_f32 = tf.cast(x, tf.float32)
|
| 282 |
residual = x_f32
|
| 283 |
+
x = self.norm1(x)
|
| 284 |
|
| 285 |
x_comb = self.mha(x, x, x, use_causal_mask=True)
|
| 286 |
|