ggml_add_rel_pos: Add Relative Position Bias (Graph)

View source: R/operations.R

ggml_add_rel_posR Documentation

Add Relative Position Bias (Graph)

Description

Adds width and height relative-position bias to a.

Usage

ggml_add_rel_pos(ctx, a, pw, ph)

Arguments

ctx

GGML context

a

Input tensor

pw

Width relative-position tensor

ph

Height relative-position tensor

Value

Tensor with added relative-position bias


ggmlR documentation built on July 14, 2026, 1:08 a.m.