ggml_set_inplace function
- @Native<Pointer<
ggml_tensor> Function(Pointer<ggml_context> , Pointer<ggml_tensor> , Pointer<ggml_tensor> , Size, Size, Size, Size)>(ffi.Pointer<ggml_context>, ffi.Pointer<ggml_tensor>, ffi.Pointer<ggml_tensor>, ffi.Size, ffi.Size, ffi.Size, ffi.Size)>()
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - Pointer<
ggml_tensor> b, - int nb1,
- int nb2,
- int nb3,
- int offset,
b -> view(a,offset,nb1,nb2,3), return view(a)
Implementation
@ffi.Native<
ffi.Pointer<ggml_tensor> Function(
ffi.Pointer<ggml_context>,
ffi.Pointer<ggml_tensor>,
ffi.Pointer<ggml_tensor>,
ffi.Size,
ffi.Size,
ffi.Size,
ffi.Size,
)
>()
external ffi.Pointer<ggml_tensor> ggml_set_inplace(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
int nb1,
int nb2,
int nb3,
int offset,
);