nn_is_norm_type: Is this a normalization layer carrying learnable gamma/beta?

View source: R/nn_layers.R

nn_is_norm_typeR Documentation

Is this a normalization layer carrying learnable gamma/beta?

Description

The three of them are allocated, restored, counted and saved the same way; only batch_norm additionally keeps running statistics.

Usage

nn_is_norm_type(type)

Arguments

type

A layer type string.

Value

TRUE for the gamma/beta normalization layers.


ggmlR documentation built on Oct. 23, 2026, 1:07 a.m.