ggml_rms_norm_back: RMS Norm Backward (Graph)

View source: R/operations.R

ggml_rms_norm_backR Documentation

RMS Norm Backward (Graph)

Description

Creates a graph node for backward pass of RMS normalization. Used in training for computing gradients.

Usage

ggml_rms_norm_back(ctx, a, b, eps = 1e-05)

Arguments

ctx

GGML context

a

Input tensor (x from forward pass)

b

Gradient tensor (dy)

eps

Epsilon for numerical stability (default 1e-5)

Value

Tensor representing the gradient with respect to input


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