-
Hi, to learn more from GGML, I am trying to convert some older apps to run with the latest GGML lib. In doing so, I ran across this type of construct:
Since ggml_scale() only accepts a float for the 3rd parameter, what is the best way to get the right value from: "ggml_div(ctx0, ggml_new_f32(ctx0, 1.0f), sqrt1)"? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
slaren
Feb 19, 2024
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HoiV
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ggml_mul
now supports broadcasting in all the dimensions, so you can use it in place ofggml_scale
.