ggml_set_2d_inplace method
Pointer<ggml_tensor>
ggml_set_2d_inplace(
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - Pointer<
ggml_tensor> b, - int nb1,
- int offset,
b -> view(a,offset,nb1,nb2,3), return view(a)
Implementation
ffi.Pointer<ggml_tensor> ggml_set_2d_inplace(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
int nb1,
int offset,
) {
return _ggml_set_2d_inplace(
ctx,
a,
b,
nb1,
offset,
);
}