I would like to change the following code from tf1.0 to tf2.0
tf.contrib.layers.layer_norm(
inputs=input_tensor, begin_norm_axis=-1, begin_params_axis=-1, scope=name)
This code is taken from https://github.com/google-research/bert/blob/master/modeling.py Line 364.
Please help me.