ggml_rope_back method

Pointer<ggml_tensor> ggml_rope_back(
  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,
  7. int n_orig_ctx,
  8. double freq_base,
  9. double freq_scale,
  10. double ext_factor,
  11. double attn_factor,
  12. double beta_fast,
  13. double beta_slow,
  14. double xpos_base,
  15. bool xpos_down,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_rope_back(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  ffi.Pointer<ggml_tensor> b,
  int n_dims,
  int mode,
  int n_ctx,
  int n_orig_ctx,
  double freq_base,
  double freq_scale,
  double ext_factor,
  double attn_factor,
  double beta_fast,
  double beta_slow,
  double xpos_base,
  bool xpos_down,
) {
  return _ggml_rope_back(
    ctx,
    a,
    b,
    n_dims,
    mode,
    n_ctx,
    n_orig_ctx,
    freq_base,
    freq_scale,
    ext_factor,
    attn_factor,
    beta_fast,
    beta_slow,
    xpos_base,
    xpos_down,
  );
}