Skip to content

Commit 50d839a

Browse files
authored
Update ggml_extend.hpp
1 parent 37fb6d3 commit 50d839a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml_extend.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,9 +1309,9 @@ class Linear : public UnaryBlock {
13091309
out = ggml_add(ctx, act, b);
13101310
}
13111311

1312-
auto ne = im->ne[0];
1313-
13141312
auto im = ggml_mul_mat(ctx, x, w);
1313+
auto ne = im->ne[0];
1314+
13151315
auto empty = ggml_new_tensor_1d(ctx, GGML_TYPE_F32, ne);
13161316
auto eyev = ggml_set_f32(eye, 1.0f);
13171317
auto eye = ggml_diag(ctx, eyev);

0 commit comments

Comments
 (0)