ggml_geglu_split: GeGLU Split (Graph)

View source: R/operations.R

ggml_geglu_splitR Documentation

GeGLU Split (Graph)

Description

Creates a graph node for GeGLU with separate input and gate tensors.

Usage

ggml_geglu_split(ctx, a, b)

Arguments

ctx

GGML context

a

Input tensor (the values to be gated)

b

Gate tensor (same shape as a)

Details

Formula: output = GELU(a) * b

Value

Tensor with same shape as input tensors


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