Layernorm from different Frameworks produce different results

Viewed 15

why

tf.keras.layers.LayerNormalization(axis=-1, epsilon=0.001, center=False,scale=False)(x)

and

torch.nn.LayerNorm(torch_zweiter_schritt.shape, eps=0.001, elementwise_affine=False)(x)

produce different results ?

0 Answers
Related