mirror of
https://github.com/labmlai/annotated_deep_learning_paper_implementations.git
synced 2025-11-02 04:37:46 +08:00
🐛 typo
This commit is contained in:
@ -182,7 +182,7 @@ class AttentionReconstructionLoss:
|
||||
c_mem = layer.compress(mem)
|
||||
|
||||
h = self.norm(layer.norm_self_attn, h)
|
||||
mem = self.norm(layer.norm_self_attn, h)
|
||||
mem = self.norm(layer.norm_self_attn, mem)
|
||||
c_mem = self.norm(layer.norm_self_attn, c_mem)
|
||||
|
||||
return self.loss_func(self.attn(layer.self_attn, h, mem, mem),
|
||||
|
||||
Reference in New Issue
Block a user