ggml_repeat method
Pointer<ggml_tensor>
ggml_repeat(
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - Pointer<
ggml_tensor> b
if a is the same shape as b, and a is not parameter, return a otherwise, return a new tensor: repeat(a) to fit in b
Implementation
ffi.Pointer<ggml_tensor> ggml_repeat(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
) {
return _ggml_repeat(
ctx,
a,
b,
);
}