code: def noam_norm(x, epsilon=1.0, name=None):
    
    with tf.name_scope(name, default_name="noam_norm", values=[x]):
      shape = x.get_shape()
      ndims = len(shape)
      return (tf.nn.l2_normalize(x, ndims - 1, epsilon=epsilon) * tf.sqrt(
          to_float(shape[-1])))
docs: One version of layer normalization.