ggml_get_rel_pos method

Pointer<ggml_tensor> ggml_get_rel_pos(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. int qh,
  4. int kh,
)

used in sam

Implementation

ffi.Pointer<ggml_tensor> ggml_get_rel_pos(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  int qh,
  int kh,
) {
  return _ggml_get_rel_pos(
    ctx,
    a,
    qh,
    kh,
  );
}