From 11dd54c9774352e83c2d106fd9e9bf7329777a14 Mon Sep 17 00:00:00 2001 From: Jerek Date: Sun, 2 Nov 2025 12:37:40 +0800 Subject: [PATCH] =?UTF-8?q?init=20=E4=BB=85=E7=94=A8=E4=BA=8E=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "code/7.3 LoRA\345\237\272\347\241\200.py" | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git "a/code/7.3 LoRA\345\237\272\347\241\200.py" "b/code/7.3 LoRA\345\237\272\347\241\200.py" index f76c2a6..63fcbbe 100644 --- "a/code/7.3 LoRA\345\237\272\347\241\200.py" +++ "b/code/7.3 LoRA\345\237\272\347\241\200.py" @@ -27,4 +27,5 @@ def forward(self, input): lora_output = self.B(self.A(self.dropout(input))) # 将标准线性输出与缩放后的LoRA输出相加,得到最终输出 - return linear_output + lora_output \ No newline at end of file + return linear_output + lora_output + # \ No newline at end of file