ggml_clamp method
Pointer<ggml_tensor>
ggml_clamp(
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - double min,
- double max,
GeneralAiSpeechToTextLibraryWhisper Binding By General Corporation & Global Corporation & General Developer
Implementation
ffi.Pointer<ggml_tensor> ggml_clamp(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
double min,
double max,
) {
return _ggml_clamp(ctx, a, min, max);
}