| nn_layer_norm_core | R Documentation |
ggml_norm() normalizes over ne[0] – the feature axis for every input
rank the layers use – keeping the sequence and batch axes, so one call
covers flat and sequence inputs alike. Upstream ggml has no backward rule for
it; ggmlR adds GGML_OP_NORM_BACK (CPU and Vulkan kernels), so a graph
using this is trainable.
nn_layer_norm_core(ctx, x, eps)
ctx |
A |
x |
A |
eps |
Small constant added to the variance. |
A ggml_tensor of the same shape as x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.