ggml_rope method

Pointer<ggml_tensor> ggml_rope(
  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(
  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(
    ctx,
    a,
    b,
    n_dims,
    mode,
    n_ctx,
  );
}