ggml_alibi method

Pointer<ggml_tensor> ggml_alibi(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. int n_past,
  4. int n_head,
  5. double bias_max,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_alibi(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  int n_past,
  int n_head,
  double bias_max,
) {
  return _ggml_alibi(
    ctx,
    a,
    n_past,
    n_head,
    bias_max,
  );
}