mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
95a23e01fe
commit
32fac34586
Binary file not shown.
@ -168,7 +168,9 @@ class LoRAModule(nn.Module):
|
|||||||
nn.init.normal_(self.lora_A.bias.data)
|
nn.init.normal_(self.lora_A.bias.data)
|
||||||
|
|
||||||
def forward(self, x):
|
def forward(self, x):
|
||||||
|
print('-'*30)
|
||||||
print(x)
|
print(x)
|
||||||
|
print('-'*30)
|
||||||
x = x.transpose(0, 1)
|
x = x.transpose(0, 1)
|
||||||
x = self.lora_A(x)
|
x = self.lora_A(x)
|
||||||
x = self.lora_B(x)
|
x = self.lora_B(x)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user