Layer Normalization

Hi !
I am trying to train Audio speech commands project in Tensorflow js. But i am having issues with some of the functions in Js , as they are provided in Python api but not in Js.
How can i achieve this behaviour in Tensorflow js ?

norm_layer = layers.Normalization()
# Fit the state of the layer to the spectrograms
norm_layer.adapt( spec, label: spec))

And in model :

layers.Resizing(32, 32),
    # Normalize.

tf.layers does not have adapt or resize methods in Tensorflow js

The original tutorial is Simple audio