ggml_upscale method
Pointer<ggml_tensor>
ggml_upscale(
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - int scale_factor
nearest interpolate multiplies ne0 and ne1 by scale factor used in stable-diffusion
Implementation
ffi.Pointer<ggml_tensor> ggml_upscale(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
int scale_factor,
) {
return _ggml_upscale(
ctx,
a,
scale_factor,
);
}