ggml_rope_inplace method

Pointer<ggml_tensor> ggml_rope_inplace(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. Pointer<ggml_tensor> b,
  4. int n_dims,
  5. int mode,
  6. int n_ctx,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_rope_inplace(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  ffi.Pointer<ggml_tensor> b,
  int n_dims,
  int mode,
  int n_ctx,
) {
  return _ggml_rope_inplace(
    ctx,
    a,
    b,
    n_dims,
    mode,
    n_ctx,
  );
}