ggml_scale_bias function
- @Native<Pointer<
ggml_tensor> Function(Pointer<ggml_context> , Pointer<ggml_tensor> , Float, Float)>(ffi.Pointer<ggml_context>, ffi.Pointer<ggml_tensor>, ffi.Float, ffi.Float)>()
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - double s,
- double b,
x = s * a + b
Implementation
@ffi.Native<
ffi.Pointer<ggml_tensor> Function(
ffi.Pointer<ggml_context>,
ffi.Pointer<ggml_tensor>,
ffi.Float,
ffi.Float,
)
>()
external ffi.Pointer<ggml_tensor> ggml_scale_bias(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
double s,
double b,
);