Learn R Programming

ggmlR (version 0.8.1)

ggml_add_rel_pos: Add Relative Position Bias (Graph)

Description

Adds width and height relative-position bias to a.

Usage

ggml_add_rel_pos(ctx, a, pw, ph)

Value

Tensor with added relative-position bias

Arguments

ctx

GGML context

a

Input tensor

pw

Width relative-position tensor

ph

Height relative-position tensor