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 1aed3d7 commit e163225Copy full SHA for e163225
ggml/src/ggml.c
@@ -2716,8 +2716,8 @@ struct ggml_tensor * ggml_xielu(
2716
struct ggml_tensor * result = ggml_dup_tensor(ctx, a);
2717
2718
ggml_set_op_params_i32(result, 0, (int32_t) GGML_UNARY_OP_XIELU);
2719
- ggml_set_op_params_f32(result, 1, beta + ggml_softplus(alpha_n));
2720
- ggml_set_op_params_f32(result, 2, ggml_softplus(alpha_p));
+ ggml_set_op_params_f32(result, 1, beta + ggml_compute_softplus_f32(alpha_n));
+ ggml_set_op_params_f32(result, 2, ggml_compute_softplus_f32(alpha_p));
2721
ggml_set_op_params_f32(result, 3, beta);
2722
ggml_set_op_params_f32(result, 4, eps);
2723
0 commit comments