LayerNormalization
PythonKeras LayerNormalization that also normalizes non-trailing axes on the Torch backend.
LayerNormalization()Keras LayerNormalization that also normalizes non-trailing axes on the Torch backend.
Keras 3’s Torch backend normalizes trailing axes only, so axes such as (1, 2) of a
(batch, height, width, channels) input fail there. On Torch, this layer moves the
normalized axes last, normalizes and moves them back. On other backends it is the Keras layer,
with the same weights, configuration and graph.
Saved models record this class as helia_edge>LayerNormalization: load them with
helia_edge.models.load_model, or call helia_edge.register_keras_serializables() before
keras.saving.load_model.
call
Pythoncall(inputs)