Yuchan commited on
Commit
d6fcd77
·
verified ·
1 Parent(s): d3a501b

Update AlphaS2S.py

Browse files
Files changed (1) hide show
  1. 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
- x_f32 = self.norm1(x)
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