Yuchan commited on
Commit
706457f
·
verified ·
1 Parent(s): 957057b

Update AlphaS2S.py

Browse files
Files changed (1) hide show
  1. AlphaS2S.py +2 -0
AlphaS2S.py CHANGED
@@ -238,6 +238,8 @@ class gMLPBlock(layers.Layer):
238
  class CrossBlock(layers.Layer):
239
  def __init__(self, clip_value=5.0, eps=1e-6): # 💡 d_model 인자 추가
240
  super().__init__()
 
 
241
  # 💡 수정: 출력 차원을 1에서 d_model로 변경
242
  def call(self, x, z):
243
  # a의 shape: (Batch, Seq_len, D_model)
 
238
  class CrossBlock(layers.Layer):
239
  def __init__(self, clip_value=5.0, eps=1e-6): # 💡 d_model 인자 추가
240
  super().__init__()
241
+ self.clip_value = clip_value
242
+ self.eps = eps
243
  # 💡 수정: 출력 차원을 1에서 d_model로 변경
244
  def call(self, x, z):
245
  # a의 shape: (Batch, Seq_len, D_model)