We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58851b5 commit dd771e2Copy full SHA for dd771e2
ggml_extend.hpp
@@ -1313,10 +1313,10 @@ class Linear : public UnaryBlock {
1313
auto im = ggml_mul_mat(ctx, x, w);
1314
1315
auto a = ggml_diag_mask_zero(ctx, im, 0);
1316
- auto b = ggml_transpose(ctx, a);
1317
- auto c = ggml_diag_mask_zero(ctx, b, 0);
1318
- auto d = ggml_transpose(ctx, c);
1319
- auto ims = ggml_sum_rows(ctx, d);
+ auto c = ggml_transpose(ctx, a);
+ auto d = ggml_diag_mask_zero(ctx, c, 0);
+ auto e = ggml_transpose(ctx, d);
+ auto ims = ggml_sum_rows(ctx, e);
1320
auto imv = ggml_reshape_1d(ctx, ims, ne);
1321
1322
//
0 commit comments